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?
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?