[wp-trac] [WordPress Trac] #49680: Consider also allowing POST requests for block ServerSideRender endpoint
WordPress Trac
noreply at wordpress.org
Sun May 3 22:56:16 UTC 2020
#49680: Consider also allowing POST requests for block ServerSideRender endpoint
--------------------------------------+--------------------------------
Reporter: ryankienstra | Owner: TimothyBlynJacobs
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.5
Component: REST API | Version: 5.0
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses: rest-api
--------------------------------------+--------------------------------
Changes (by TimothyBlynJacobs):
* owner: (none) => TimothyBlynJacobs
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"47756" 47756]:
{{{
#!CommitTicketReference repository="" revision="47756"
REST API: Accept POST requests in the block renderer endpoint.
Rendering a block is idempotent, so a GET is the most natural request
method. However, the maximum length of URLs prevented blocks with large
attributes from being rendered.
Props ryankienstra.
Fixes #49680.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49680#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list