Issue with WP REST API and Bedrock

after migration to Bedrock URL endpoint /wp-json/wp/v2/post returns 302 and than redirect to 404 page.
In contrary URL /?rest_route=/wp/v2/posts returns proper json.
The WP instance is on Nginx. All other permalinks are working. Reset permalinks doesn’t help.
Calling /wp/wp-json/wp/v2/post have the same result.
Anyone had similar issue? Do I need add something special to Nginx config for Bedrock?

So there is no hope?

  • /wp-json/wp/v2/post
  • /?rest_route=/wp/v2/posts

Note the trailing “s”.

Thank you for your reply. :slight_smile: That was just my typo but I tried both with and without trailing “s”. Unfortunately with no effect.