Submit and vote on feature ideas.

Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

How to send file in the REST client

Options
Parasofttoudaya
Parasofttoudaya Posts: 232 ✭✭

Hi team,

we are having rest api that does take attachment. but i don't see an option in parasoft to pass attachment with the rest client.

Regards
Udaya

Tagged:

Comments

  • benken_parasoft
    benken_parasoft Posts: 1,232 ✭✭✭
    Options

    In the REST Client, select the Resource tab then select POST (or PUT) for the method. Next, select the Payload tab then select MIME Multipart in the box for the Payload Format. Select Table for the Input Mode. Under the table, click the Add button to add a MIME part. In the Add dialog, you specify a Name for the part as well as a Value. You should see File as one of the options for the value.