Forum Discussion

zeigerr's avatar
zeigerr
Occasional Contributor
3 years ago
Solved

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
    zeigerr
    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" https://jira-test.intern.hessen.de/rest/zapi/latest/cccccc?ddddd=eeeee


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