New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Location support in Response #320
Comments
ATM, MSF4J doesn't support the Response.location(). We will fix this in the next release. Until that, as a workaround, you can set the status code and location header manually. e.g. |
HI, |
Hi Tharindu, Can you try like below
|
Tharindu, we are closing this issue as this problem has been fixed in #345. If you find any problems please feel free to reopen. Thanks! |
We are going to use below snippets in order to do POST request with 201 response. We want to send the Created resource location through the Response. Once we implement that we came up with below stack trace.
https://github.com/wso2/carbon-apimgt/blob/a94893c66473febc597b2895afe329ceccb1fbd3/components/apimgt/org.wso2.carbon.apimgt.rest.api.publisher/src/main/java/org/wso2/carbon/apimgt/rest/api/publisher/impl/ApisApiServiceImpl.java#L260
The text was updated successfully, but these errors were encountered: