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
I'm trying to incorporate the revert action into my server code, however, I'm having trouble getting the ID from a PSR-7 compliant request object. I thought that it may be a problem with the revert action using the DELETE method which may not be widely supported, but after customizing the revert action through setOptions to use the POST method, I still can't get the ID.
I've unsuccessfully tried the following methods for retrieving the ID:
$body = $request->getParsedBody();
$params = $request->getParams();
$body2 = $request->getBody();
Google Chrome developer tools network tab does show that there is a Request Payload with the correct ID value in the revert requests.
The text was updated successfully, but these errors were encountered:
Summary
I'm trying to incorporate the revert action into my server code, however, I'm having trouble getting the ID from a PSR-7 compliant request object. I thought that it may be a problem with the revert action using the DELETE method which may not be widely supported, but after customizing the revert action through setOptions to use the POST method, I still can't get the ID.
I've unsuccessfully tried the following methods for retrieving the ID:
Google Chrome developer tools network tab does show that there is a Request Payload with the correct ID value in the revert requests.
The text was updated successfully, but these errors were encountered: