Forum Discussion

markdcy's avatar
markdcy
Regular Visitor
6 years ago

Issue with rest call that includes an inline binary attachment

I would like to have a soap test step that replicates the following curl statement.  I have tried a ton of variations with attachments and headers with no success.  Thoughts?

 

curl -X POST \

  https://*****.com/sip/next/api/cms/items/chunks \

  -H 'Content-Type: application/octet-stream' \

  -H 'cache-control: no-cache' \

  -H 'content-range: bytes 0-2097151/8940602' \

  --data-binary ‘@someFileName’

No RepliesBe the first to reply