FedEx Tracking API Response: 404

╄→尐↘猪︶ㄣ 提交于 2021-01-29 11:03:19

问题


Here is the situation.

I have a Rest API Tracking setup trying to get the status of the FedEx package.

Here is my code:

   $url = 'https://apis-sandbox.fedex.com/track/v1/123456789012';

   $api = new App_ApiTransaction('POST', $url, '', App_ApiTransaction::ENCODE_JSON);
   $api->addHeader( 'Authorization', 'Bearer '.$accessToken->accessToken);
   $api->addHeader( 'X-locale', 'en_US');
   $api->addHeader( 'Content-Type', 'application/json');

Why would I be getting a 404 response code?

Thank you, Kevin

来源:https://stackoverflow.com/questions/64109467/fedex-tracking-api-response-404

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!