php
接收 Content-Type
是 application/json
的请求数据
通过捕获 输入流 file_get_contents('php://input')
swoole
程序可以用 swoole_http_request $request->rawContent();
php
接收 Content-Type
是 application/json
的请求数据
通过捕获 输入流 file_get_contents('php://input')
swoole
程序可以用 swoole_http_request $request->rawContent();