You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having difficulty getting into my products, because the url error http 401, oh consumer_key is correct and the secret is also the only way I can get the data and passing the "cafearabesco.com/wp-json/wc/v2/products?consume_key=ajsajs77kajsak....&consume_secret=njnjnjnjn2n3j23nj2.." but this way it is not safe and on the server in production of the ssl error.
I have not been successful since yesterday. my localhost application works but on the server in production because my site in wp and https, and the class DefaulthttpClient uses, HttpResponse httpResponse = httpClient.execute(httpRequest);
and my server from ssl error. " Caused by: javax.net.ssl.SSLPeerUnverifiedException: Host name 'antioquia.com' does not match the certificate subject provided by the peer"
Activity
guilherme-oliveria commentedon Apr 2, 2018
copy and paste the link in the browser
omandryk commentedon Apr 2, 2018
Hi @guilherme-oliveria if you have SSL on your server you may use Basic Authentication: http://woocommerce.github.io/woocommerce-rest-api-docs/#authentication-over-https
guilherme-oliveria commentedon Apr 2, 2018
add params "query_string_auth" = true
guilherme-oliveria commentedon Apr 2, 2018
in classe enum OauthHeader
guilherme-oliveria commentedon Apr 3, 2018
I have not been successful since yesterday. my localhost application works but on the server in production because my site in wp and https, and the class DefaulthttpClient uses,
HttpResponse httpResponse = httpClient.execute(httpRequest);and my server from ssl error. " Caused by: javax.net.ssl.SSLPeerUnverifiedException: Host name 'antioquia.com' does not match the certificate subject provided by the peer"