Hello,
I have a wordpress with woocommerce . I use the oauth library and i have a consumerKey and a consumerSecret.
Following a previous thread i did the following
what follows next?
if i open a browser and call this url
https://MySite.com/wp-json/wc/v2/orders?consumer_key=consumerKey&consumer_secret=consumerSecret
i get the JSON I want.
How do i securely get it with oauth?
IF i open an httpjob and call the download method (with the above url) i get also the data, but i believe its not the right way since i am passing the consumerkey and secret in the url, right?
How do i do it with oauth ?
Thank you in advance
I have a wordpress with woocommerce . I use the oauth library and i have a consumerKey and a consumerSecret.
Following a previous thread i did the following
B4X:
consumerKey = "aaaaaaaaaaaa"
consumerSecret = "bbbbbbbbbbbbb"
req.InitializeGet(url)
auth.Initialize(consumerKey, consumerSecret)
auth.Sign(req)
what follows next?
if i open a browser and call this url
https://MySite.com/wp-json/wc/v2/orders?consumer_key=consumerKey&consumer_secret=consumerSecret
i get the JSON I want.
How do i securely get it with oauth?
IF i open an httpjob and call the download method (with the above url) i get also the data, but i believe its not the right way since i am passing the consumerkey and secret in the url, right?
How do i do it with oauth ?
Thank you in advance