![]() ![]() ![]() you have explicitly asked the requests/adapter module not to add the certificate added by you. ![]() Please let me know where I am going wrong. Because you have added your certificate path and verifyFalse i.e. Print(json.dumps(json.loads(response.text), sort_keys= True, indent= 4, separators=( ",", ": "))) url = " auth = HTTPBasicAuth( "client_id", "client_secret") Use this API to build apps, script interactions with Jira, or develop any other type. Under Service project access, choose Customers added to this service project only by agents and admins. The Jira REST API enables you to interact with Jira programmatically. Hopefully you can use that as a workaround on the client side. To set up portal access for customers added to your service project: From your service project, go to Project settings > Customer permissions. Jira Service Management includes several request types that address common IT help scenarios. A GET on /rest/api/2/serverInfo will return the servers baseUrl. Now I would like to replicate this functionality using a Client ID and Client Secret, that I created using Admin API (Attached Image), using the same HTTP Basic Authentication protocol like above instead of OAuth 3LO but when I am using the same code as above, I am getting a 401 error. You need to be a project admin to set up portal access. url = " r = requests.get(url, auth=(, 'api_token') , Initially, I used the combination of Email and API Token as suggested by the Cloud REST API documentation. I am trying to invoke REST API using Basic Authentication protocol. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |