Trying to do GET after POST fails

I have successfully made my M95 do both POST and GET using al the q… commands like: QHTTPREAD

All works fine and that is fantastic except, if I try to do a POST, then a GET and then a different POST, then both the POST’s work, but the GET fails with 3815

If I do GET, then POST and then the other POST, then all 3 are executed successfully.
I guess there is something I’m not terminating correctly after the POST, I just cannot figure out why.
I’m following the command structure from here:


Thanks in advance

And just as I wrote this I figured it out :slight_smile:

I’m setting the headers on POST, and they are all valid for both the POSTS, but not for the GET, so setting all the headers to 0 fixed it.

DOH!