I'm new to the http client so this may be a stupid question but I can get UsingBasicAuthentication() to work with a Get Request:
httpClient = ClientBuilder:Build() :Client. // Create credentials creds = new Credentials('smisdev.myDomain.com', 'XCDS', 'abc123'). req = RequestBuilder:Get('smisdev.myDomain.com/.../XCDS') :UsingBasicAuthentication(creds) :Request. resp = httpClient:Execute(req).
But I need to perform a POST request with
UsingBasicAuthentication(creds) and an empty body. No matter what I try I can't seem to get it to work. Thoughts?