Hello,
I'm working with Xray Test Management and I would like to attach my screenshots with my Test execution issue. Support Xray give me this cmd which able to attach .png file.
curl -D- -u 'user:pwd!' -X POST -F file=@cypress/screenshots/showcase-react.spec.js/test.png http://jiraserver/rest/api/2/issue/XXZ2B82XRS-24/attachments
But I have an error occurred :
HTTP/1.1 100 ContinueHTTP/1.1 301 Moved PermanentlyServer: awselb/2.0Date: Thu, 18 Jun 2020 14:03:20 GMTContent-Type: text/htmlContent-Length: 150Location: https://jiraserver:443/rest/api/2/issue/XXZ2B82XRS-24/attachmentsCache-Control: proxy-revalidateProxy-Connection: Keep-AliveConnection: Keep-Alive<html><head><title>301 Moved Permanently</title></head><body bgcolor="white"><center><h1>301 Moved Permanently</h1></center></body></html>
Any ideas about this issue?
Regards,
Giovany
Here's solution : replace http by https and it works!
@Bogdan Gorka
@Michal Husar
@John Funk
Sorry, Xray is not something I work with or have knowledge about. :-(
It looks like you're new here. Sign in or register to get started.