I work with Retrofit2, Volley even already Postman test. $ _POST does not work on the server. It comes up empty, and I don’t even suggest how to solve this problem. Who had a similar write down what they did. I use the latest version of OpenServer. This error is observed only on LAN. There was no such error on the remote server. If I try to use the form, then $ _POST works as it should. But if I send from an external resource, then nothing works.

Accept the value

echo $_POST['say] 
  • ospanel.io/forum/viewtopic.php?t=3360 , can this article help - entithat
  • @entithat Using what was in the article, the server still does not see the data I sent. - Dmitry
  • It means either you send something wrong, or the code is not written that way. You can guess for a long time. - Daniel Protopopov
  • one
    You show an example of what is coming from and where to. And we are wondering here as if on a coffee wiser. According to your words, “I am sending from an external resource,” we can assume that you have a CSRF. And if you read above, it is not clear why you are sending from an external resource to LAN, and so on. Give more info. - Manitikyl
  • 2
    @ Dmitry redirection can lose these forms, remove it - andmal

0