How to post external_services using cURL in PHP?

fmsthirdfmsthird Member Posts: 31

I am trying to send a post request to /externalservices with my {urlEndpoint}/shipmentmethods.

I am using Laravel. Unfortunately, I am receiving error like;

Client error: `POST https://b1606b8d0c1be10652cd80c8c69934bb:***@api.webshopapp.com/us/external_services.json` resulted in a `400 Bad Request` response:\n
{"error":{"code":400,"method":"CREATE","request":"\/us\/external_services.json","message":"Invalid data input."}}


Could someone tell me what might be the reason for the error. Thanks

Tags:

2 comments

Sign In or Register to comment.