0
this blog 및 reference documentation의 단계에 따라 Azure API Managment의 REST API를 통해 Swagger 정의를 가져 오려고합니다. 그러나, 나는 몸으로, 응답 500 오류를 받고 있어요 :Azure API 관리가 Swagger 정의를 푸시하는 동안 InternalServerError를 반환합니다.
{
"error": {
"code": "InternalServerError",
"message": "Request processing failed due to internal error.",
"details": null
}
}
내 요구는 아니지만 PUT를 들어, GET 작동합니다. 누구든지 내 요청이나 잠재적 인 설치 문제에 대해 조사해야 할 부분을 지적 할 수 있습니까?
PUT /apis/{app-id}?api-version=2014-02-14-preview&import=true HTTP/1.1
Host: {tenant}.management.azure-api.net
Authorization: SharedAccessSignature uid={uid}&ex={ex}&sn={sn}
Content-Type: application/vnd.swagger.link+json
If-Match: *
Cache-Control: no-cache
{
"link": "{app}.cloudapp.azure.com:8165/swagger/docs/0"
}
U_U * headdesk * 정말 고마워요. –