Skip to content

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

@disu

Description

@disu

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions