1

I have the following code which post a couple of variables to a webapi

n.UploadString("https://192.168.201.10/api/v1/auth/login", "POST", data);

I can use n.ResponseHeaders.Get("X-Access-Token"); To simply get the post response headers. But I also need the json in the body of the page. Is there a function to get this result?

Erwin Vorenhout
  • 181
  • 1
  • 5
  • 20

0 Answers0