Hey everyone,
I’m having trouble connecting to a Magento 2 instance via API.
The issue seems to be related to the store code in the endpoint.
When the call includes “default”, it fails:
https://www.ditur.dk/default/all/V1/modules
But when I replace it with “all”, it works as expected:
https://www.ditur.dk/rest/all/V1/modules
It looks like the “default” part in the REST path breaks the connection somehow.
Has anyone else experienced this issue — or found a fix or workaround for it?
For reference, the Magento 2 REST API documentation can be found here:
Adobe Commerce Web API Reference
Thanks in advance for any insights!