Postman upload file on API using raw

Viewed 3290

How do you upload a file on postman using raw mode.

I used a json entry like this:

{
    "inp_doc_uid": "750761691595cf3398da311004881705",
    "tas_uid": "71415152859433e07c33b11085554015",
    "app_doc_comment":"test upload",
    "form":"@/User/images.jpg"
}

the problem was the @ in php was deprecated and now recommended to use curlFile, how to do it in a json form?

Thanks.

1 Answers
Related