From 11:00 PM CDT Friday, Nov 8 - 2:30 PM CDT Saturday, Nov 9, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From 11:00 PM CDT Friday, Nov 8 - 2:30 PM CDT Saturday, Nov 9, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
04-29-2021 08:24 AM
Dear Community,
I want to connect to a httpserver located on a device via LabVIEWs http- client- functions. The url I have to connect to is https based. I am transferring the functionality shown in the attached python code to labview.
When I run the python code the connection is established and I receive the response: 200 ok.
When I run the labview code I get the error "404 Not found" with the message "Invalid hashcash".
Any ideas what went wrong?
Solved! Go to Solution.
04-29-2021 09:36 AM
The items you are passing are not header elements but th ebody of the POST. You need to create the JSON body with those attriutes and pass that to your post call.
04-30-2021 01:33 AM
Yep, that did it.
Thanks Mark.
05-01-2021 02:53 PM
Hi!
Just to let you know: There is the JSON-to-Text VI in the string palette. Input in this case would be a cluster with three text controls labeled loginName, password and hashcash..