Using PHP and curl with http PUT on string data
This wasn’t obvious
There are various other posts on this - but mostly assuming you will put a file.
In my case I want to put the contents of a string so I needed to create a temporary filehandle.
Technical information on this site may be out of date : no updates since 2015
This wasn’t obvious
There are various other posts on this - but mostly assuming you will put a file.
In my case I want to put the contents of a string so I needed to create a temporary filehandle.