cand i make a "PUT" request using http.request ? i am trying but i'm getting errors, it works fine with POST and GET
cand i make a "PUT" request using http.request ? i am trying but i'm getting errors, it works fine with POST and GET
Yes, I've just tested a PUT request from Cloud Script. What are the specifics of the error you're getting?
var headers = {}; headers["Accept"] = "application/json;odata=nometadata";
http.request(LINK ,"PUT", "{\"a\":\"Playeri\",\"b\":\"c\",\"d\":\""+Reshow+"\"}", "application/json",headers);
I tried to do a try catch but the error returns "undefined", the weird thing is that if I change the "PUT" to "GET" it works.
I am trying to connect to Azure Tables.
2 People are following this question.