Hi I have managed to solve the issue. I had a problem with a var that i took to the wget command which had mistake But thank you in advance for the quick R On Sep 7, 2016 7:12 PM, "Darshit Shah" <[email protected]> wrote:
> I am unable to follow the exact issue you are facing. Can you please share > the output of Wget, preferably with the --debug option enabled in both the > cases? > > * Ohad Shay <[email protected]> [160907 16:51]: > >> Hi, >> >> >> >> I’m having problem to call API with POST >> >> >> >> APIWGET = [WGETInstallationFolder,'--no-check-certificate',"--post-dat >> a="% >> 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 >> > > -- > Thanking You, > Darshit Shah > PGP Fingerprint: 7845 120B 07CB D8D6 ECE5 FF2B 2A17 43ED A91A 35B6 >
