03-06-2013 06:13 PM
I am trying to make a HTTP PUT request to a webservice, which I can't get to work because it keeps returning the following error in its header: HTTP/1.1 417 Expectation Failed
In the body it explains that I have a header "expect:100-continue" in my PUT request header (see image).
I have tried everything to remove that particular header from my request (using LabviewHTTPclient.lvlib:removeheader.vi), but Labview still sends it.
2 questions:
- Is there a tool that lets me see what header/request labview actually sends to the webservice?
- how come I can't remove that header?
Thanks for your input!
BTW. I got it working in Curl, which I believe is used by Labview itself as well
03-07-2013 06:35 AM
Hello Aartjan,
About the tool:
You could use wireshark (just an example).
About the header part:
Can you share your code or a simplification of it (Project and files [vi's..]) that allows me to test/reproduce/see what's going on?
To know what causes the issue we need to see your code.