php - postman cannot get return data
仅有的幸福
仅有的幸福 2017-05-16 12:03:04
0
2
818

Use postman to submit as shown below, and an empty array is returned. What's going on? Please try to be as understandable as possible when answering...Thank you very much!

仅有的幸福
仅有的幸福

reply all(2)
巴扎黑

echo json_encode($a);
Try this...

滿天的星座

First of all, you chose post. There should be no value passed in your body. You probably wrote invalid parameters in the header, so an error was reported. You use get, pass the value in the browser address, and then use $_GET to receive it, then use echo in test.php without return.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template