Hi Guys,
I'm trying to send a PDF to a target php file with the REST API.
By creating a RAW post text I can send paramaters and the file in one request to the target page.
The PDF is on ANSI encoding but when I open the PDF received on the target php page it's UTF-8.
There for the PDF is not working anymore and I can get this to work.
This is the plaintext that I send trough the rest api:
-----------------------------261062025026036
Content-Disposition: form-data; name='printadres'
false
-----------------------------261062025026036
Content-Disposition: form-data; name='my_file'; filename='20161540.PDF'
Content-Type: application/pdf
binarydatatotext(file)
-----------------------------261062025026036--
I'm trying to send a PDF to a target php file with the REST API.
By creating a RAW post text I can send paramaters and the file in one request to the target page.
The PDF is on ANSI encoding but when I open the PDF received on the target php page it's UTF-8.
There for the PDF is not working anymore and I can get this to work.
This is the plaintext that I send trough the rest api:
-----------------------------261062025026036
Content-Disposition: form-data; name='printadres'
false
-----------------------------261062025026036
Content-Disposition: form-data; name='my_file'; filename='20161540.PDF'
Content-Type: application/pdf
binarydatatotext(file)
-----------------------------261062025026036--