I am having some difficulty with an API. It has requested that I create a Multipart Form Data image
POST https://api.working.com/v1/detail/detail.example.id1/27f145d2-5713-4a8d-af64-b269f95ade3b/images/thumbnail/normal
------------------------------330184f75e21
Content-Disposition: form-data; name="image"; filename="icon.png"
Content-Type: application/octet-stream
.PNG
imagedata
Response
I am trying to find some example PHP script that will convert an image into this format
The image file must have the name image in the multipart form data
I am racking my brain and combing the internet to find something that works for me.
Does anyone have a snippet they can share please to help?
Thanks
Rob