• Hi Everyone,
    I am working on a directory app which uses REST API but it seems to be blocked by something, i disabled security plugins and maintenance plugin. I am still getting errors of REST API needs authentication would this now be a server level? Modsecurity or something else with WordPress causing the block?

    I still want to use a security plugin but i need REST API access for the app, any suggestions please?

    Thanks

    Rockyuk

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    By default, the API uses cookie authentication. API requests of privileged data need to be made from a browser where the user has been logged into WP. For other situations, such as an independent mobile app, you’ll need to use one of the authentication plugins.

    Security plugins ought to be compatible with these methods. Ensure you have authentication working without security first. Then activate the security. If authenticated API requests then fail, seek assistance from the security plugin’s dedicated support forum where its devs can help you.

Viewing 1 replies (of 1 total)
  • The topic ‘REST Endpoints’ is closed to new replies.