Forum Discussion

bik's avatar
bik
Occasional Contributor
7 years ago

Trying to send a attachment in POST request

Below is the Curl . curl -X POST --header 'Content-Type: multipart/form-data' --header 'Accept: application/json' {"type":"formData"} 'http://domain/users/users/import'         While doing this...
  • bik's avatar
    bik
    7 years ago

    The problem is solved now.

    The file will be provided as parameter in SoapuI and then a path of the file.

     

    and then attach the file and hit on POST.