Ask a Question

Unable to upload multiple files as attachment in post request

thushina
New Contributor

Unable to upload multiple files as attachment in post request

Unable to upload multiple files as attachment in post request

3 REPLIES 3
thushina
New Contributor

Re: Unable to upload multiple files as attachment in post request

I tried the solution given in another link it didnt work

https://community.smartbear.com/t5/ReadyAPI-Questions/Mutiple-file-attachment/m-p/172691

 

However in postman it is working successfully

richie
Community Hero

Re: Unable to upload multiple files as attachment in post request

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
if this helped answer the post, could you please mark it as 'solved'? Also if you consider whether the title of your post is relevant? Perhaps if the post is solved, it might make sense to update the Subject header field of the post to something more descriptive? This will help people when searching for problems. Ta
thushina
New Contributor

Re: Unable to upload multiple files as attachment in post request

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

cancel
Showing results for 
Search instead for 
Did you mean: