How to upload an image to json-server? Is there anyway to receive image and save it on server by easy method or API?
leave it alone
ehh~~~ I think so
Dude, json-server it's to deal with JSON only.
You can store in a base64 string, see https://github.com/typicode/json-server/issues/528#issuecomment-301246568
Any solution, @xuyanquan?
There is no answer
Well, this is old but I agree with @phsantiago that you could store a base64 string. Another solution may be to upload the image to an image host and store the public URL.
Most helpful comment
leave it alone