Forum Discussion

thushina's avatar
thushina
New Contributor
4 years ago

Unable to upload multiple files as attachment in post request

Unable to upload multiple files as attachment in post request

    • richie's avatar
      richie
      Community Hero
      Hey thushina,

      When you say "it didnt work", can you explain exactly what happened when you tried? I did this myself a long time ago and it worked fine.

      If you can provide more details then perhaps your issue can be solved. I never came across a scenario where it worked in postman and i couldnt get it to work in ReadyAPI

      Cheers

      Rich
      • thushina's avatar
        thushina
        New Contributor

        Hi 

        Requirement is I need to upload many attachments in PUT request 

        So what I have done so far is

        1.I have selected content type as multipart/form data (post query string unchecked)

        2.Added two attachment in attachment sections

        3.Under the request tab param name as files and value i gave as filename (Type is query)

        Click on send 

        first file is uploaded second file is ignored