You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since merging #1817, a POST to /api/endpoints no longer expects the payload to be application/json but to be formatted as form. When I call the API as defined in the swagger file, I receive:
{
"err": "Invalid request data format"
}
It works when I format it as multipart/form-data. Was this change intended?
The text was updated successfully, but these errors were encountered:
As you can see now you can embed the TLS files inside the endpoint creation request payload, this should make it easier to create TLS endpoints (instead of executing multiple requests to the /api/upload endpoint post endpoint creation).
It is also a requirement since we now send a ping request to the underlying Docker environment at endpoint creation time to ensure that we can connect to it.
Feel free to ask any questions, I'll update the docs as a part of the next release.
Thanks for the clarifications. Looks like I was too impatient. I was using the endpoint for a workaround to #1828, but this seems to be finally solved by you. Thanks for the awesome work!
Since merging #1817, a POST to
/api/endpoints
no longer expects the payload to beapplication/json
but to be formatted as form. When I call the API as defined in the swagger file, I receive:It works when I format it as
multipart/form-data
. Was this change intended?The text was updated successfully, but these errors were encountered: