[wp-trac] [WordPress Trac] #62717: POST request to pages returns 200 or 404
WordPress Trac
noreply at wordpress.org
Fri Dec 20 03:35:35 UTC 2024
#62717: POST request to pages returns 200 or 404
-------------------------------+-----------------------------
Reporter: prestonwordsworth | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: HTTP API | Version: 6.7.1
Severity: normal | Keywords:
Focuses: |
-------------------------------+-----------------------------
When we send a POST request to a regular page via cURL with no data/body,
we get 200 and a response containing the page content just as we would
with GET.
When we send POST requests with arbitrary data, however, we get either 404
or 200 depending on the request body.
Is this an inconsistency to be fixed or just undocumented, but intended,
behaviour?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62717>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list