How to upload a image via POST?


I have read the tutorials of REST API, I tried to upload my image like this

but it just show me null.

How should I do?


Maybe you can try sending the data as multipart/form-data, as explained in the docs. If you use this way, let me remark that the key of the file has to be "files".