I am trying to upload an image to a server along with some JSON data that is collected from a form.
The server has authentication.
METHOD: post HEAD
The last line should be --xxxxxxxx--, and not --xxxxxxxx.
--xxxxxxxx--
--xxxxxxxx