Forum Discussion
NeilServices
8 years agoQrew Member
Just in case you don't go with Dan's solution - here's the issue. The instruction say NO carriage returns in the data - so you need to change this:
<field fid="80" filename="test.pdf">
BASE 64 ENCODED STRING OF THE PDF FILE
</field>
To this:
<field fid="80" filename="test.pdf">BASE 64 ENCODED STRING OF THE PDF FILE</field>
I just tested this in postman and it worked fine when I eliminated the hidden characters around the field tags.
Good luck..
Neil
<field fid="80" filename="test.pdf">
BASE 64 ENCODED STRING OF THE PDF FILE
</field>
To this:
<field fid="80" filename="test.pdf">BASE 64 ENCODED STRING OF THE PDF FILE</field>
I just tested this in postman and it worked fine when I eliminated the hidden characters around the field tags.
Good luck..
Neil
- KelechiKelechi8 years agoQrew TraineeI followed your solution and removed the carriage return and it works fine.
Thank you very much - JoshuaTate7 years agoQrew CadetGlad you solved your problem but Dans advice is extremely sound, you may want to modernize the code you use if not for any other reason that to keep up with latest web standards :)