We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
/posts/[post_id]/update
Method:
PUT
Example:
GET /posts/95875f36-9dc0-4672-b733-6c9bf84c2eba/update HTTP 405 Method Not Allowed Allow: PUT, PATCH, OPTIONS Content-Type: application/json Vary: Accept { "detail": "Method \"GET\" not allowed." }
After the author enter the edited text, it will show:
PUT /posts/95875f36-9dc0-4672-b733-6c9bf84c2eba/update HTTP 200 OK Allow: PUT, PATCH, OPTIONS Content-Type: application/json Vary: Accept { "id": "95875f36-9dc0-4672-b733-6c9bf84c2eba", "title": "Annnnnny", "description": "xmas", "contentType": "text/plain", "content": "Merrrrrrrrrry Christmas!!!!!!!!", "image": "", "visibility": "PUBLIC" }