-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Own API, get no Data #69
Comments
Your foreach statement walks through $_POST and not the json. So replacing $POST with $retVal should solve the problem. For a working example look at https://github.com/opendata-stuttgart/madavi-api/blob/master/data_simple.php |
OK, thanks for Answer and the Example. fputs($fp,var_export($retVal)); and : Both missing true Flags set the Value to an PHP valid Array
Now i see all sendet Values and Array Keys. |
Section / Description API expanded. More infos provided. I think, this issue can be closed. |
Try to receive Data on my Own Webserver.
Configured to my IP/data.php Port 80.
data.php:
Result data.txt
Apache.log
Whats wrong ?
The text was updated successfully, but these errors were encountered: