Hi,
I’m having problem to call API with POST
APIWGET = [WGETInstallationFolder,'--no-check-certificate',"--post-data="%
PostFile,"--output-file="+TempReadWritePath + 'TempReadWriteFile' + TimeNow
+ '.txt',"--wait=2","--content-on-error","--header="+Header,
"--output-document="+TempReadWritePath + 'TempReadWriteFile' + TimeNow +
'.txt',"--timeout=3","--tries=3", "--save-headers", "https://" +APIGWIP +
"xxxxxxxx/"]
call(APIWGET)
I’m getting Error 400 altough using “no check certificate
certificate common name 'nova-lumos.com' doesn't match requested host name
'52.31.17.9
However when run the API with “GET” everything is ok
*Note:*
The API\Ural start with HTTPS
Using Windows>Visual studio>Python to write the code
Thanks in advance
Ohad