I'm developing an integration for the API using NodeJS, basing the implementation on the PHP samples. I got everything setup and can generate the same signature as in PHP, but when I try to execute the request from NodeJS I only get the result_code Failed, on the PHP samples I get the correct result_code.
Bellow I created the same request I'm doing on NodeJS and PHP using cURL (and I have the same result as the NodeJS application):
curl -X POST \
-H 'authorization: VMS 76020e219f323a190749046e04a08c070b1135e8:eNNfnYntTrpEMd/2C/6Kc2lvU5I=' \
-H 'content-type: application/json' \
-H 'date: Thu, 14 Sep 2017 14:19:10 GMT' \
What I expect from this request is this:
What is wrong with this payload that does not return the same response as in the PHP samples?