Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
titleexample of a API request with "curl" using basic authentication
collapsetrue
curl -H "Accept: application/json" -u jira_username:jira_password httphttps://xray-tst.xpand-itjiraserver.example.com:28140/rest/raven/1.0/api/test/CALC-1880/step

...

Code Block
languagebash
titleexample of a API request with "curl" using Personal Access Tokens
collapsetrue
curl -H "Accept: application/json" -H "Authorization: Bearer MDkzNjIyMTEwNjQzOqb+ApTGm3af+z3eGdcyDm7xHv6R" https://jiraserver.example.com/rest/raven/1.0/api/test/CALC-1880/step


 It It is also possible to use other authentication methods such as cookie-based or OAuth (see more information here).

...