R
R
Roman Prokopets2020-08-06 16:23:00
JavaScript
Roman Prokopets, 2020-08-06 16:23:00

How to save image to json-server?

Tell me the solution how to get a picture from the user and save it to json-server

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stalker_RED, 2020-08-06
@Stalker_RED

Read the image binary, convert to base64, for example ,
put it in json and save.
You seem to be doing something strange.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question