I am trying to send a Post request to my server using HttpClient but I am not sure where to actually set the payload and headers that need to be sent.
var client = new HttpClient();
client.post(host, port, path);
client.post(host, port, path) has only 3 arguments so how do I set the payload to be sent?
Thanks in advance