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

How to get "php://input" data in laravel #10

Closed
aipaw opened this issue Dec 30, 2017 · 1 comment
Closed

How to get "php://input" data in laravel #10

aipaw opened this issue Dec 30, 2017 · 1 comment

Comments

@aipaw
Copy link

aipaw commented Dec 30, 2017

How to get "php://input" data in laravel.

$_GET/$_POST/$_FILES...These all have, But there is no "php://input".

Can you tell me what to do?

@scil
Copy link
Owner

scil commented Jan 20, 2018

public function onRequest(\swoole_http_request $request, \swoole_http_response $response)
{
  $request->rawContent();

@scil scil closed this as completed Jan 20, 2018
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

2 participants