I am using ApiBuilder
in Java where my id
path param has forward slashes ("/"
) because of encryption. However, the endpoint is not being found when run because the slashes are read as part of the URL, not as the id. Here is how I call the API request:
ApiBuilder.post("http://localhost:5008/api/update/{id}") {
// code process here
}
The sample id value is:
mxCSRO3qErTy7eO77HJeUvBiKXM/1i1cd3GdHuqdeSz/lyLU/N7cBCz3eZoIUyybhhmpAeJ1IABomr8Kv0IDKA==
Edit: I have already solved the issue here. According to javalin documentation, the path should be less_thanidgreater_than instead of {id}
.