Advertisement

Post Modern Scholarship

Post Modern Scholarship - Então, afinal, qual é a diferença entre o método put. Alguns ensinam que post é para enviar dados para criação de algo e que put é para atualizar, mas achei mal explicado. 翻译过来就是:如果需要服务端生成id,就用 post,否则(也就id已知),用put。 对简单的接口或者资源来说(如:get /user/123 表示查询用户信息),rest 这种设计不会有什么问.

翻译过来就是:如果需要服务端生成id,就用 post,否则(也就id已知),用put。 对简单的接口或者资源来说(如:get /user/123 表示查询用户信息),rest 这种设计不会有什么问. Então, afinal, qual é a diferença entre o método put. Alguns ensinam que post é para enviar dados para criação de algo e que put é para atualizar, mas achei mal explicado.

Free and customizable scholarship templates
Free and customizable scholarship templates
Free and customizable scholarship templates
Free and customizable scholarship templates
Free and customizable scholarship templates
Free and customizable scholarship templates
Free and customizable scholarship templates
Free and customizable scholarship templates
Free and customizable scholarship templates
Virgil Abloh™ "PostModern" Scholarship Fund — Fashion Scholarship Fund

翻译过来就是:如果需要服务端生成Id,就用 Post,否则(也就Id已知),用Put。 对简单的接口或者资源来说(如:Get /User/123 表示查询用户信息),Rest 这种设计不会有什么问.

Então, afinal, qual é a diferença entre o método put. Alguns ensinam que post é para enviar dados para criação de algo e que put é para atualizar, mas achei mal explicado.

Related Post: