Error to use curl to add base64 text convert pdf image multipage


My questión is about when I try to add to bash command curl the text base64 pdf multipage image the bash interpreter say:

the arguments list is to loong.

What is wrong?

The line of the curl command is:

/usr/bin/curl -H apikey:7079f5830f88957 --form language=spa --form detectorientation=true --form isCreateSearchablePdf=true --form filetype=pdf --form ‘base64image=data:application/pdf;base64,JVBERi0x…KJSVFT0YK’

Can help me?

Kind Regards.


It seems this is a cURL issue. For the solution, please see here: