Thanks for JFM, i've used it in 2 scripts now and works nicely. I also like how in the new versions the JS part is formatted in seperate file.
For an API on localhost with selfsigned cert I got a (expected) cert error "The certificate authority is invalid or incorrect".
I could not find an option to disable cert checking so a I added a "k" switch to JSONOpen (like curl -k).
The Tests script passed and I've added tests for -k without -u" switch and 2 for JSONOpen and a known bad cert with/without "-k".
Hi @SReject,
Thanks for JFM, i've used it in 2 scripts now and works nicely. I also like how in the new versions the JS part is formatted in seperate file.
For an API on localhost with selfsigned cert I got a (expected) cert error "The certificate authority is invalid or incorrect". I could not find an option to disable cert checking so a I added a "k" switch to JSONOpen (like curl -k).
The Tests script passed and I've added tests for -k without -u" switch and 2 for JSONOpen and a known bad cert with/without "-k".