Internal Server Error
Hi,
I just tried creating one of these fake API's but I'm facing an Internal Server Error I can't figure out. Could you tell me what's wrong with it?
https://my-json-server.typicode.com/mig82/iron-bank-of-braavos
I've linted the JSON and it's correct.
Ok. I found out why. I had an attribute in db.json here which was a timestamp.
"timestamp": "2020-04-02T17:26:13.265Z"
This was causing an error.
I had the same issue cause I was using as url "https://my-json-server.typicode.com/salvolannister/myjsonserver/db.json" instead of "https://my-json-server.typicode.com/salvolannister/myjsonserver/db"
I am facing the same issue my db.json:
https://my-json-server.typicode.com/Ali-Guliyev/Ali-Guliyev-Portfolio