I am trying to pass some JSON data through a php form I made:
<?php
$json ='{"client_id": "mykey",
"client_secret": "mysecret",
"grant_type": "client_credentials"}';
$stuff = json_encode($json);
?>
<form action="https://api.yotpo.com/oauth/token" method="POST">
<input type="hidden" name="post_data" <?php echo 'value="'.$stuff.'"'; ?> />
<input type="submit">
</form>
However once submitted it appears that no data is passing to the next page.