How to do a http PUT?
Is there a difference between http put and http post?
How to do a http PUT?
Thanks
2 Answers
-
It all depends on the web application. If you have a RESTful web service it normally uses POST to create new records and PUT to update existing records. Regular web sites usually deal with only GET and POST HTTP methods.
-
Does this make sense?
var xhr = Titanium.Network.createHTTPClient();
xhr.open("PUT",UA_URL + UA_Server + deviceToken);
Is "PUT" in xhr.open valid?