Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

request.post doesn't seem to work #4

Open
santiagoramirez opened this issue May 28, 2017 · 2 comments
Open

request.post doesn't seem to work #4

santiagoramirez opened this issue May 28, 2017 · 2 comments

Comments

@santiagoramirez
Copy link

request.post seems to send the request but the data contained in options.data does not seem to be sent.

@blacksmoke26
Copy link

same here!

@MarcoBroto
Copy link

I had the same problem, it has to do with the data being sent as json after the header. This line should work
$params = json_decode(file_get_contents('php://input'), true);
I hope this helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants