Hi - I am trying to call API using mirth as connector.
COBOL Statement [fAILING with HTTP-RESPONSE = 500]
CONTENTTYPE=application/json
POST-ADDRESSD is 250 char
CALL "HttpPost" USING POST-ADDRESSD CONTENTTYPE REQUEST-PAYLOAD RESPONSE-PAYLOAD GIVING RESPONSE-STATUS.
Curl form linux command line is working fine
syntax:
curl -X 'POST' 'url' -H 'accept: application/json' -H 'Authorization: Bearer token' -H 'Content-Type: application/json' -d '{payload}'
Question
1. I am not able to find documentation on RMNet. Can you please route me to correct direction ?
2. How to pass token to httppost ?
3. Is there way to generate curl syntax from RMNet [my understanding is RMNet is wrapper for curl]
#curl#RMCOBOL#RMNet