Forum Discussion

zeigerr's avatar
Occasional Contributor
3 years ago

Authentificate using a Token with curl.exe using ZAPI

Hi,   after using the JUnit import functionality in Zephyr Squad, I have to attach some log files as evidence to the executions created by the JUnit test result upload.   Since I am not a Java de...
  • zeigerr's avatar
    3 years ago

    We installed a newer version of Jira Squar, i.e. 6.2.4.

    Wit this version PATs are supported. Each user can create one and use ist e.g. via curl:

    curl -X GET -H "Authorization: Bearer <personal_access_token>" -H "Content-Type:multipart/form-data"

    On windows cammandline you have to escape "&" character via "^&".