AI OnAI Off
Hi Martin
It can have multiple causes.
Accept-Language: en
accept: application/json
2. If the friendly url is not working but the API url is try this
It is important to have to correct handlers in the web.config otherwise the routing does not work.
Hello,
I'm testing out Content Delivery API by running it locally on my machine. In order to acess the endpoints I've set up, I use http://localhost:port/api/episerver/v2.0/content{contentId}.
When I issue get requests on this endpoint through Postman, I'm sucessfully retrieve the data I'm expecting.
However, when I use the browser, either through a front-end application or directly go to the endpoint url in the browser, I recieve this response:
{"error":{"code":"NotFound","message":"Content was not found"}}
I have given read access to all the content in EPiServer Admin Portal to the contentapiread user.
Below is the output code for the working Postman request.
If you need further information, please ask and I will provide.
Has anyone experienced this before?