I have a simple API in Rails, it only reads the database, and returns the JSON according to the request.
However, I was testing the API, making a request with another device, connected via wireless, and I was not able to get JSON in response. I looked for the error on the internet, and it looks like it's something related to protect_from_forgery
, but even I commenting on it, I could not.
So the API does not have a lot of security related issues, for example, requiring token and stuff like that, because I'm a beginner, and I'm not really sure how to develop that part.
Follow the github link for the project: link