Skip to content

Built-in and custom REST API access #607

@alecgeatches

Description

@alecgeatches

Hello! Is there any support or planned support for REST API access in wp-now?

I tried running wp-now locally and accessing a REST API endpoint at http://localhost:8881/wp-json/wp/v2/posts/1/. The rewrite doesn't appear to work and the main blog page shows up instead of a REST endpoint. The same happens directly in the WordPress Playground:

playground-no-api

I noticed when testing a plugin that provides a custom REST API endpoint with wp-now:

/wp-json/vip-block-data-api/v1/...

This is also not accessible. Are there any settings changes I can make to get the REST API working, or is this feature planned? I image there are lots of plugins that rely on built-in or custom API access to work properly. Thank you!

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