When I use the API with a url it works perfect, but if I do it > with a file, I don't get it to work

Hi, try my solution here;

POST pdf document.

Thanks,
Zabir.