1.
I've been looking through the doc of wso2 apim. https://docs.wso2.com/display/AM210/apidocs/publisher/index.html#guide
And use the postman to send the request:

But I got 401 error response. As expected I should get the correct response payload like:
{
"callBackURL": "www.google.lk",
"jsonString":
"{
\"username\":\"admin\",
\"redirect_uris\":\"www.google.lk\",
\"tokenScope\":[Ljava.lang.String;@3a73796a,
\"client_name\":\"admin_rest_api_store\",
\"grant_types\":\"authorization_code password refresh_token iwa:ntlm
urn:ietf:params:oauth:grant-type:saml2-bearer client_credentialsimplicit\"
}",
"clientName": null,
"clientId": "HfEl1jJPdg5tbtrxhAwybN05QGoa",
"clientSecret": "l6c0aoLcWR3fwezHhc7XoGOht5Aa"
}
2.
I have used the same method to call another URL the response is 403.The URL is correct to enter the publisher. How to solve it? Thank you.
Request Header
Request
Response Body
Response Cookies
Response Header

