I created my development environment with Docker and I’m having problems connecting the wordpress backend with the frontity, inside the frontity.settings.js there is the API field, but inside the docker I can only access JSON with http: // localhost:3333/?rest_route=/, the ending / wp-json / I have no return.
when I was using MAMP the final /wp-json worked but now with docker I can’t get an answer with the final /?rest_route=/. Could anyone explain to me what’s going on?