Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Rest API with curl and OAUTH

falkeckert September 5, 2019

Hello,

is it possible to realize a curl request as described here only with curl and Oauth?

https://developer.atlassian.com/cloud/jira/platform/jira-rest-api-oauth-authentication/

Best regards

1 answer

0 votes
DPKJ
Community Champion
September 5, 2019

@falkeckert

On OAuth,

  • OAuth request consist of multiple http request called OAuth Dance,
  • This dance is required to perform any api request on server,
  • This is more suited when we are writing application to interact with Jira.

Curl,

  • This is suited for single request and response.

 

So If want to access Jira api's and want to use oAuth, use OAuthTutotialClient-x.x.jar.

And, If want call api using CURL, use basic authentication as mentioned here - https://developer.atlassian.com/cloud/jira/platform/jira-rest-api-basic-authentication/

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events