Reputation: 16813
I have the following code in my mobile application, and it fetches data properly. myURL is symbolic only.
var client = new RestClient("http://myURL/");
client.Authenticator = new HttpBasicAuthenticator("efgh", "ijkl");
var request2 = new RestRequest("rest/humantask/task/assigned/Jane");
request2.AddHeader ("Accept", "application/json");
request2.AddHeader ("Content-Type", "application/json");
However, I would like to see json objects on my browser. Once I call the URL as follows, it does not return anything. What am I missing? or is there a tool (extension) which I could use?
myURL/rest/humantask/task/assigned/Jane
Upvotes: 0
Views: 79
Reputation: 16813
I have found a solution by using postman, there is username and password sections, and also header entries.
Postman Link could be found in the following link: https://chrome.google.com/webstore/detail/postman-rest-client/fdmmgilgnpjigdojojpjoooidkmcomcm?hl=en
Upvotes: 1
Reputation: 690
hello for crome i preffer JSON Editor Extenstion you can also edit JSON Result. you can check JSONEditor
Upvotes: 1