• Resolved prayaspanchuri

    (@prayaspanchuri)


    As I’m creating a React Native android app how can I accept incoming POST data, assumed to be in JSON notation. $input = file_get_contents(‘php://input’, 1000000);

Viewing 1 replies (of 1 total)
  • Plugin Author Ali Qureshi

    (@parorrey)

    $inputJSON = file_get_contents('php://input');
    $json_input= json_decode( $inputJSON, TRUE ); //converts JSON into array
    • This reply was modified 4 years, 11 months ago by Ali Qureshi.
    • This reply was modified 4 years, 11 months ago by Ali Qureshi.
Viewing 1 replies (of 1 total)
  • The topic ‘How can I make my JSON.stringify converted date acceptable’ is closed to new replies.