REST API, UPLOAD

Dear friend Cuba, I am trying to execute a call UPLOAD via POST like documentation 4.8.1.2.6
{host:port}:/app-portal/api/upload

I am sendig the next via JSON where s (session), name (filenme) , ext (extension file is rigth ??) , size (size in bytes) and bod (I do not know if this field comes here(
{“s”:“8da8a6ef-6f01-b733-d845-6f390709e2e5”,“name”:“fotoDPI”,“ext”:“jpg”,“size”:“14757”,“body”:"/9j/4AAQ…Z"}

and returning blank, nothing.

Please helpme

Hi,

The parameters must be passed in the URL:


/api/upload?s=...&name=...&ext=...&size=...

The request body must contain not the JSON, but the file content only