Open MangaOtaku opened 1 year ago
The current curl examples do not work for the labels/v1/return-label requests. The responses are 400 - Missing Required Fields.
Could you update them for whatever changed, or fix the api to actually return a useful error message?
curl --location --request POST 'https://api-cat.usps.com/labels/v1/return-label' --header 'accept: multipart/mixed' --header 'authorization: Bearer xxxxxxxxxxxx' --header 'Content-Type: application/json' --data-binary '@/path/to/request.json'
The current curl examples do not work for the labels/v1/return-label requests. The responses are 400 - Missing Required Fields.
Could you update them for whatever changed, or fix the api to actually return a useful error message?
curl --location --request POST 'https://api-cat.usps.com/labels/v1/return-label' --header 'accept: multipart/mixed' --header 'authorization: Bearer xxxxxxxxxxxx' --header 'Content-Type: application/json' --data-binary '@/path/to/request.json'