【发布时间】:2020-05-01 00:14:34
【问题描述】:
我使用 POSTMAN 测试我的 Cloudformation 创建的 API
POST https://6pppnxxxh.execute-api.eu-central-1.amazonaws.com/Prod/users
我明白了
{
"message": "Missing Authentication Token"
}
我仔细检查了 PROD 调用 URL。 如何解决这个问题呢? 我试过卷曲
curl --header "Content-Type: application/json" --request POST --data '{ "emailaddress" : "acj@rambler.ru,"first name" : "Aca","last name" : "Ljubascikic", "password" : "bbbac_96"}' https://6pppnxxxh.execute-api.eu-central-1.amazonaws.com/Prod/users
同样的问题
{"message":"Missing Authentication Token"}
如何从 CLI 进行测试?
【问题讨论】:
-
您能否确认此路由的身份验证设置为无?
-
如何确认Auth设置?
标签: amazon-web-services restful-authentication