json-server
json-server copied to clipboard
Post method does not work
Post method does not work online, only locally. Other requests from other methods are working, like PUT/GET/PATCH etc.
I've already added in the code:
headers: { "Accept": "application/json", "Content-Type": "application/json" }
I opened the console and everything seems to be correct, giving me 201 and so on. Locally, it works fine, but at typicode.com, it doesn't!
I have similar problem
I have the same problem too.
Same here.
same
same