Forum Discussion

ningappa's avatar
ningappa
Occasional Visitor
10 years ago

Request attachment setting need to do

I am sending request for Put method, but the Input(Body) content which i am trying to send is very big. 

 

Not able to paste all content in input field. 

 

I am able to attach the same from attachment tab, 

 

Please help me after attaching the file, what all settings i have to do for referring the conetnt which is attached.

 

 

 

 

 

  • kondasamy's avatar
    kondasamy
    Regular Contributor

    Hi,

     

    I guess Attachement option is used only while sending multipart request and the data sent through Attachement tab gets detected only when the Content-Type is multipart/mixed or multipart/form-data. Please correct if my statement is wrong.

     

    In this case, I would not encourage you to use Attachment feature for your particular requirement where you are going to send just Payload (Body XML). I would suggest you to try feed request XML from a file directly using Groovy script.

     

    Thanks,

    Samy