Open
Description
When posting to /posts/{post-id} end point using PUT method and npf format, multipart/form-data fails with the follwing error.
{
"meta": {
"status": 400,
"msg": "Bad Request"
},
"response": [],
"errors": [
{
"title": "Bad Request",
"code": 5002,
"detail": "multipart/form-data content is invalid"
}
]
}
When posting to /posts end point to create a new post with images via multipart form content type, no problem occurs. Multi part form works correctly and posting succeeds.
When posting to /posts/{post-id} end point without multi part form(in other words, with the application/json content type), it works normally. Editing a post succeeds.
But if I add a new image when editing a post and post with the multi part form, it fails with the error message "multipart/form-data content is invalid".
Does "PUT /posts/{post-id} end point" support multi part form?
Metadata
Assignees
Labels
No labels
Activity