Skip to content
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

Login and post fetch works, but create post returns 404 #75

Open
disu opened this issue Sep 17, 2021 · 1 comment
Open

Login and post fetch works, but create post returns 404 #75

disu opened this issue Sep 17, 2021 · 1 comment

Comments

@disu
Copy link

disu commented Sep 17, 2021

Hi,
your example work correctly, after configuring JWT on my website, with login and posts fetch.
But when I press the "create post" button it sends a request to https://MY_WEBSITE/wp-json/wp/v2/posts, passing default new post as parameter, and in response.statusCode I receive a 404 error.
I've tried on the same URL with postman and it works correctly.

Do you know why?

@disu
Copy link
Author

disu commented Sep 17, 2021

Seems to be an hosting problem because, on the others shared hosting, it works correctly.
However if you have any suggestion on server configuration (htaccess?) please tell me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant