Can't retrieve the JSON Post data, file_get_contents('php://input') is empty -


guys i'm having weirdest, head splitting issue ever. know has been asked many times before none of answers shed light on issue , can't working.

problem: file_get_contents('php://input') returns null no matter try.

things i've tried/checked far:

  • allow_url_fopen on
  • echo $_post; didn't work either
  • php://input used once in php code (v5,6)

i null when this;

$data = json_decode(file_get_contents('php://input'), true); var_dump($data); 

my goal:

i'll parse response sent payment processor , stuff it.

json sent payment processor;

activity logs in dashboard show json data being sent upon new subscription. https://codebeautify.org/jsonviewer/cb44885d

any advice highly appreciated, it's been 12 hours , i'm still stuck it.


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -