Skip to content

Commit

Permalink
Merge pull request #114 from EasyPost/post_shipping_insurance_curl
Browse files Browse the repository at this point in the history
fix: curl example for shipping insurance should be POST
  • Loading branch information
Justintime50 authored Oct 10, 2023
2 parents f668127 + 7685cde commit 22b9ed0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion official/docs/curl/current/shipping-insurance/insure.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
curl -X GET https://api.easypost.com/v2/shipments/shp_.../insure \
curl -X POST https://api.easypost.com/v2/shipments/shp_.../insure \
-u "$EASYPOST_API_KEY": \
-H 'Content-Type: application/json' \
-d '{
Expand Down

0 comments on commit 22b9ed0

Please sign in to comment.