Python Forum
unable to generate authentication key
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
unable to generate authentication key
#1
Hi Team,

I am new to python.
By using web API trying get the authentication key. Could you please please me on this.
Request type is post
Response is in XML format.



import requests
# API URL
apiURL = "https://services.fiberlink.com/auth-apis/auth/1.0/authenticate/1008860"

token_dict = {"billingID": "1008860",
"platformID": "3",
"appID": "com.1008860.api",
"appVersion": "1.0",
"appAccessKey": "xxxxxx",
"userName": "xxxxxxxx",
"password": "xxxxxxxx"
}
headers = {"Content-Type": "application/xml"}
response = requests.post(apiURL, headers=headers, data=token_dict)
print(response.text)
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Unable to generate animation leea2024 4 4,130 Aug-16-2024, 04:48 PM
Last Post: leea2024
  REST API x.509 authentication crossover 1 4,418 Feb-15-2022, 12:21 AM
Last Post: snippsat
  need some help to do Vault authentication using python dspy9 0 1,855 Apr-15-2020, 07:22 PM
Last Post: dspy9
  user authentication in python saurabhc 1 40,557 Sep-15-2019, 11:59 AM
Last Post: jefsummers

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020