Forum Discussion

JieSong's avatar
JieSong
Occasional Contributor
12 years ago

how do i input binary data in REST request

Hi

I need to use binary data as post body data in a REST request, it seems soapui does not support this requirement.
Could you give me a piece of advice?

Thanks in advance

Jessie

1 Reply

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi!

    You can add a binary file to a POST request by adding the file to the Attachments tab in the bottom of the HTTP/REST request window and then in the editable Media Type drop down menu enter the same value as in the Content Type column.

    --
    Regards

    Erik
    SmartBear Sweden