curl POST -d USER=[email] -d PWD=[password] -d SIGNATURE=[signature] -d METHOD=TransactionSearch -d TRANSACTIONCLASS=RECEIVED -d STARTDATE=2019-05-21T05:38:48Z -d ENDDATE=2019-05-22T05:38:48Z -d VERSION=94 https://api-3t.paypal.com/nvp curl: (6) Could not resolve host: POST TIMESTAMP=2019%2d06%2d19T15%3a00%3a11Z&CORRELATIONID=8439e637f94&ACK=Failure&VERSION=94&BUILD=52546130&L_ERRORCODE0=10002&L_SHORTMESSAGE0=Security%20error&L_LONGMESSAGE0=Security%20header%20is%20not%20valid&L_SEVERITYCODE0=Error%
I'm posting about CURL POST requests I have been making to the PayPal NVP/SOAP API. Above I have the curl request itself followed by the response from the prompt below. I have tried this call many different ways such as without the -3t in the domain, concatenating all arguments in the request into a string separated by & as well as various permutations of those. For some context I'm just trying to get an ordered list of all transactions from my company within a given timeframe with minimal calls to the API. This seem(ed)s the best, most efficient way to go about it. Any insights, or pointers at all as to why this doesn't work or about the NVP/SOAP API generally would be greatly appreciated. Alternatively code for successful curl requests made to this API would also be appreciated.