Hi,
I am new to PlayCanvas, i just started the week back this development, i want to make a azure GET and POST request from here,
Can anyone please help me how to do this ?
This is my postman token which is working fine when i do the postman call, how can i do it from here?
var request = new RestRequest(Method.GET);
request.AddHeader("postman-token", "132f43ea-d251-b99b-b2a0-762486974faa");
request.AddHeader("cache-control", "no-cache");
request.AddHeader("accept", "application/json;odata=fullmetadata");
request.AddHeader("x-ms-date", "Tue, 30 Aug 2013 18:10:24 GMT");
IRestResponse response = client.Execute(request);
It looks like it is working correctly then. The request is reaching the server.
As to why the server rejects your request, you want to look into Azure API documentation.