UnityWebRequest.PUT data not detected by request()->all() #39326
Unanswered
sawirricardo
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description:
Expected result: request()->all() should be able to catch UnityWebRequest.PUT
Currently: need to use file_get_contents('php://input') to be able to retrieve the data;
Steps To Reproduce:
UnityWebRequest.PUT(
"http://127.0.0.1:8000/api/endpoint"
,"{"some":"json data"}");
Here's the documentation from Unity https://docs.unity3d.com/ScriptReference/Networking.UnityWebRequest.Put.html
Beta Was this translation helpful? Give feedback.
All reactions