Fedex 获取 Authorization

Fedex 官方示例:

https://developer.fedex.com/api/en-us/catalog/authorization/v1/docs.html

 请求类型content-type需要:application/x-www-form-urlencoded

需要三个参数:grant_type,client_id,client_secret

1.grant_type 获取:

固定为值即可 client_credentials

Note:
client_credentials - should be used for customers and brand new Compatible Provider customers who are yet to unboard child accounts.
csp_credentials - should be used for Compatible Provider customers with existing child accounts.
client_pc_credentials – should be used for Proprietary Parent Child customers.

2.client_id 获取:

创建Fedex账号时会提供,详情看https://www.cnblogs.com/zhouzepeng/articles/17689478.html

client_id即为 AP KEY

 3.client_secret 获取:

 Specify the Client secret also known as Secret Key received during FedEx Developer portal registration.

我注册时发给我的邮件找不到了,太久了。好像注册开发者的时候邮件发送的

Postman请求示例:

 

posted @ 2024-05-23 18:44  zhouzepeng  阅读(74)  评论(0)    收藏  举报