10-26-2017 05:00 AM
10-27-2017 12:14 AM
Yes, it was with authorization.
05-02-2023 08:50 AM
would you be able to share the working .vi?
I am having similar trouble but not able to fix it. Your solution would help greatly
05-02-2023 10:49 PM
This was Sam's solution:
Your 'headers' you are sending are malformed.
The 'add header' VI adds a key/value pair to the HTTP header. You are building the key value pairs yourself instead of letting the VI do them for you. You should call the 'add header' VI for each key/value header pair you want to send.
To do the authorisation, you just need to put 'Authorization' into the 'header' control and then your 'Basic **password**' as the value. That will add a line "Authorization: Basic **password" to the headers. The HTTP Client VI handles the other headers automatically itself (e.g. the timestamp).
You should check what is actually being received by the server (e.g. by checking server logs / logging the request / using a 3rd party checking service etc.).
05-03-2023 04:49 AM
Thank you for your response.
I have tried to follow your advice but not about to get it working. Still getting authentication issues. Please find the attached .vi
I have used Postman (API monitoring tool) to check what is received and works fine.
11-07-2023 03:39 AM
This helped.
Over the years solution is persistent!🙂