We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
{"message":"Post Created"}
what is the function to check Access Method?
The text was updated successfully, but these errors were encountered:
if i'am doing this :
if($_SERVER['REQUEST_METHOD']!="POST"){die('Method Not Allowed');}
is it still safe?
Sorry, something went wrong.
You may need to recheck the create function within the post model if you made changes to it and
I am also getting the same problem.
Error : Notice: Trying to get property of non-object in C:\xampp\htdocs\my_pingo\api\create.php on line 21 Notice: Trying to get property of non-object in C:\xampp\htdocs\my_pingo\api\create.php on line 22 Notice: Trying to get property of non-object in C:\xampp\htdocs\my_pingo\api\create.php on line 23 { "message": "Post Created" }
Please share the code and not just the error!
No branches or pull requests
Notice: Trying to get property 'title' of non-object in D:\APP\xampp7\htdocs\2018\php_rest_myblog-master\api\post\create.php on line 21
Notice: Trying to get property 'body' of non-object in D:\APP\xampp7\htdocs\2018\php_rest_myblog-master\api\post\create.php on line 22
Notice: Trying to get property 'author' of non-object in D:\APP\xampp7\htdocs\2018\php_rest_myblog-master\api\post\create.php on line 23
Notice: Trying to get property 'category_id' of non-object in D:\APP\xampp7\htdocs\2018\php_rest_myblog-master\api\post\create.php on line 24
{"message":"Post Created"}
what is the function to check Access Method?
The text was updated successfully, but these errors were encountered: