Hi Thusitha,
Thanks a lot for the workarounds. If we consider above solution, we cannot
hard code URLs like this as we may have reverse proxy, load balancer etc
fronting this application. And the workaround you suggested on github issue
is violating contract we made with swagger definition. For the
Hi Tharindu,
ATM, MSF4J doesn't support the Response.location(). We will fix this in the
next release. Until that, as a workaround, you can use the set the status
code and location header manually.
e.g.
Response.status(Response.Status.CREATED).header(HttpHeaders.LOCATION,
"http://localhost:8080/
Hi All,
We are going to implement API Creation Flow in API Manager C5 with msf4j
2.1.0.
*Requirement*
Need to send 201 (Created) with Location for the Created API resource.
*Issue*
When we implement this and test we came across with below exception.
WARN {org.wso2.msf4j.internal.MSF4JMessage