I am trying to send a multipart form request thru curl but it seems to be timing out on the server. I am not a curl wiz and am trying to figure out what I am doing wrong. I can post thru postman just fine and if I copy the curl request out of postman and tweak to escape the / and ' characters, it seems like it should work and looking at the logs the requests coming from both look pretty dang close so I must be missing something obvious. Here is my request:
curl -v -X POST ^
http://localhost:8096/api/sys/cfna-notifications/v1/email-notifications ^
-H "Accept: */*" ^
-H "Accept-Encoding: gzip, deflate" ^
-H "Cache-Control: no-cache" ^
-H "Connection: keep-alive" ^
-H "Content-Length: 977" ^
-H "Content-Type: multipart/form-data" ^
-H "Host: localhost:8096" ^
-H "cache-control: no-cache" ^
-H "client_id: mmmm" ^
-H "client_secret: dddd" ^
-H "content-type: multipart/form-data" ^
-F transactionId=asdfd-213sdf-sdf4-2323kjds ^
-F parentTransactionId=12345 ^
-F businessProcess=test ^
-F toAddresses=bogartlisa@cfna.com ^
-F "subject=test this notification" ^
-F "body=body of notification email"
maybe a stupid question but do I need to do something to terminate the final part of the multipart request???