I am working with strapi and i am getting an error 403 Forbidden on calling an api e.g http://localhost:1337/data
I've called all the APIs and the result is same 403 error I've tried it with postman also.
In the api route.js file i have this:
{
"method": "GET",
"path": "/data",
"handler": "data.find",
"config": {
"policies": []
}
Strapi server is localhost port:1337
A GET call from browser http://localhost:1337/data
I have a collection of data in mongodb it should give the json document
but it is giving this
Error:{"statusCode":403,"error":"Forbidden","message":"Forbidden"}
Did you updated your security rules from the Users and Permissions plugin?