About Question com.enthuware.ets.scwcd.v5.2.393 :

Moderator: admin

Post Reply
rlrao1987
Posts: 5
Joined: Mon Jan 27, 2014 7:59 am
Contact:

About Question com.enthuware.ets.scwcd.v5.2.393 :

Post by rlrao1987 »

Why not POST instead of PUT as one of the answers?

admin
Site Admin
Posts: 10384
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question com.enthuware.ets.scwcd.v5.2.393 :

Post by admin »

POST is used to "process" the uploaded data and do something with it. It does not create an accessible resource.
PUT is used to create a resource on the server that can be accessed by a URL. This is the fundamental difference between POST and PUT. That is why PUT is the right answer here.

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests