RestServices - basic authentication header not included in post

0
I'm trying to implement basic http authentication using the RestServices module. I've used an addCredentialsToNextRequest action and set the username and password. The next action is the post action. This all works fine locally; my API receives the basic authentication header as BASE64 encoded string, decodes it and performs the authentication check. But as soon as I publish to the cloud the API reports that the entire authentication header is null. The only difference I can see is that the communication is being done via https:// both the Mendix app and my API sit on https endpoints. Does anyone have any experience of getting this working in https environment?
asked
1 answers
0

Hi Mark,

 

Did you try addHeaderToNextRequest instead, whereby the header is 'Autorization'  and value (for example) 'Bearer xxx'?

answered