Skip to content

Instantly share code, notes, and snippets.

curl -v --insecure --header "AS2-Version: 1.2" --header "AS2-From: ALLIANCELOGISTIX" --header "AS2-To: ALLIANCELOGISTIX" --header "Subject: Test AS2 Message" --header "Message-ID: <test@alliancelogistix.com>" --header "Content-Type: application/EDI-X12" --header "Disposition-Notification-To: http://104.185.68.241:10081/" --header "Disposition-Notification-Options: signed-receipt-protocol=optional, pkcs7-signature; signed-receipt-micalg=optional, sha256" --data-binary @/opt/openas2/testfile.edi --output /opt/openas2/mdn_response.raw http://104.185.68.241:10080
curl -v --insecure \
--header "AS2-Version: 1.2" \
--header "AS2-From: ALLIANCELOGISTIX" \
--header "AS2-To: ALLIANCELOGISTIX" \
--header "Subject: Test AS2 Message" \