Wso2 API 관리자 1.10.0. API 저장소에서 PUT 메서드가 작동하지 않습니다. GET, POST, DELETE 메서드는 작동하지만 PUT가 작동하지 않습니다. 내가 API에 언급 실제로 일치하는 요청에 주어진wso2 api 관리자 PUT 메서드가 API 저장소에서 작동하지 않습니다.
오류,
Curl
curl -X PUT --header "Content-Type: application/json" --header "Accept: application/json" --header "Authorization: Bearer c6c90338514e561c8a02a7b6a1c96553" -d "{\"payment\":\"PAID\"}" "https://10.138.31.22:8243/Starbucks_API/1/order_1"
Request URL
https://10.138.31.22:8243/Starbucks_API/1/order_1
Response Body
<ams:fault xmlns:ams="http://wso2.org/apimanager/security">
<ams:code>900906</ams:code>
<ams:message>No matching resource found in the API for the given request</ams:message>
<ams:description>Access failure for API: /Starbucks_API/1, version: 1. Check the API documentation and add a proper REST resource path to the invocation URL</ams:description>
</ams:fault>
Response Code
403
Response Headers
{
"content-type": "application/xml; charset=UTF-8"
}
자원. 도움을 주시면 감사하겠습니다.
여기에 스크린 샷으로 리소스 정의를 추가 할 수 있습니까? –
여기에서 이미지를 찾으십시오. http://prntscr.com/bdamuo –
오류를 로컬에서 재현 할 수 없습니다. –