Hi,
I have a custom script and with postman I upload a file(image) to this service.
How can I access the upload data with a custom script? I dont receive nothing in content, payload or parameters. I’m using DF 2.1.1-2
If I add the header Content-Type: multipart/form-data, I receive this error every time, even if my script is empty:
"error": {
"context": null,
"message": "Script did not return an expected format: ",
"code": 500
}
and in dreamfactory.log:
Exception executing javascript: script.users:8: SyntaxError: Unexpected token ;
Any help will be appreciated.
Thanks!