Amazon web services 为什么我发布到AWS API网关失败?
我使用POSTMAN测试我的Cloudformation创建的APIAmazon web services 为什么我发布到AWS API网关失败?,amazon-web-services,restful-authentication,Amazon Web Services,Restful Authentication,我使用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/jso
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进行测试?根据您的屏幕截图/Prod/users是一种PUT方法,您正在命令中使用POST。我先确认一下
希望这有帮助。您能确认此路由的身份验证设置为“无”吗?如何确认身份验证设置?