How to upload image files in rest api

How to upload image files in rest api.

Jothish,

The feature will be released within April-2018 in version 5.4. Thank you so much.

Hi Mr. Trong,

i tried “WebUI.uploadFile(response, ‘/Users/xx/Downloads/mario.jpg’)”
// above code is for web

Hi, WebUI.uploadFile function is used to upload file in webform, not for RestApi in this thread.

Hi Brian,

I uploaded wrong file. that is in WebUI

could please share how to do it in REST API?