...

When sending an HTTP POST request with data, you must insert two newlines between the Content-Length header and the actual data. Otherwise you end up with a vague error about a missing colon in the header field. Took me forever to figure this out…

Leave a Reply

Your email address will not be published. Required fields are marked *