Start a Conversation

Unsolved

This post is more than 5 years old

T

2074

September 6th, 2017 11:00

VMAX API Call using Python?

Hey All,

I'm just barely digging into the API World using Python and I'm having a big of trouble getting a simple call to go thru. It seems like it's a security issue, but I can't seem to figure out how to get past it.

Would ya'll be able to help a poor soul out?

Script

import requests

# Make a get request to get the latest position of the international space station from the opennotify api.
response = requests.get("https:// :8443/univmax/restapi/system/alert" , verify=False)

# Print the status code of the response.
print(response.status_code)

September 8th, 2017 13:00

I have been able to get a little further in my simple API call, but still hitting the below error. Thank ya'll in advance for your help on this.

Python API Security Warning.jpg

September 8th, 2017 13:00

It looks like all I had to do was ask you guys and by proxy you fixed it for me!

Python API - Success.jpg

2 Intern

 • 

20.4K Posts

September 18th, 2017 13:00

i am using Perl to connect to U4V,  interesting that you also had to disable SSL verify.

September 19th, 2017 06:00

Ya,

I was hoping that was just a one off scenario, but that doesn't seem to be the case sadly.

I have started a Blog series on my steps in this direction and would love the feedback as I'm going along if you would be interested?

No Storage For You: Storage DevOps: A Great Adventure - The Prelude

No Storage For You: Storage Automation: A Great Adventure - Red Pill

No Events found!

Top