I developped an API (endpoint : https://helloworld.mycompanyname that I need to request with a parameter 'key' ). I want to access this API from my front so I'm trying this method :
@app.route('/test/', methods=("POST","GET"))
def test():
payload = {'key':'****'}
r = requests.get('https://helloworld.mycompanyname/', params=payload)
return r.text
And I have this SSLerror :
requests.exceptions.SSLError: HTTPSConnectionPool(host='helloworld.mycompanyname', port=443): Max retries exceeded with url: /?key=*** (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])")))
How can I fix that ?