Rest API; Basic Auth Request works in postman but not HttpClient

Hi @SpencerPoole, welcome to the dev community. First of all, glad that you’re able to make a call using Postman, meaning that your auth credentials and API call mechanics are spot on. As for your client/app side problem, I would recommend using Postman’s proxy or interceptor feature, which allows you to inspect the request and response details.

There are other tools you can use to put a MITM (man in the middle), but since you’re using Postman already, it’s a very cool tool to add to your belt for problems just like this, when you’re certain the request should work, but the request is failing.

For all requests captured, you’ll be able to inspect full request + response headers and bodies.