I've been strugling to get a locally installed wordpress/woocommerce api working. The site is local and I've not been able to get a certificate on the site working (tried several plugins at no avail).
I found out (using Postman) that the woocommerce api needs "https" in the GET in order to work, although the wordpress site is actually insecure. In Postman the GET with https will by default activate ssl, but you can optionally ignore the invalid certificate and so effictively work insecurely.
In Nettalk (NetWebClient, see "netwww.clw") I found out that commenting out the following line (no. 660) in the .fetch method
if lower(self._CommandURLSt.UrlProtocolOnly()) = 'https' then self.SSL = true.
will do the "trick" for me. Now I the api (at least for GET works).
So can I (via Nettalk) send the text "https" without actually making traffic secure in a clean manner somehow?
Or is there another way to tell netwebclient to ignore the ssl stuff (so effectively disabling SSL certificate verification)?
B.t.w.
If someone knows how to get the local site secure easily, that suggestion is welcome too
TIA