Quantcast
Channel: All Quality Center / ALM Practitioners Forum posts
Viewing all articles
Browse latest Browse all 14708

Re: HP ALM: Add attachment to Test Run with the REST API throws Internal Server Error

$
0
0

Hi, I'm not sure if you found a solution for your problem but the following sample will upload a file named 'hello.txt' with the contents 'Hello!!':

 

Headers:

'Content-Type': 'multipart/form-data; boundary=uploadboundary'

 

Body:

--uploadboundary

Content-Disposition: form-data; name="filename"

 

hello.txt
--uploadboundary
Content-Disposition: form-data; name="file"; filename="hello.txt"

 

Hello!!
--uploadboundary--


Viewing all articles
Browse latest Browse all 14708

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>