3 ms·
Would love to see an example of Requests and the JSON api in WordPress, i.e. how would on go about making secure authenticated connections with a WordPress inst
by pknight 13y ago
Would love to see an example of Requests and the JSON api in WordPress, i.e. how would on go about making secure authenticated connections with a WordPress install through the JSON api. Is that in the works?
- rmccue 13y agoI see you've been following my projects. :) https://github.com/rmccue/WP-API-Client https://github.com/rmccue/WP-API-Client is an example of using Requests with the API (and the reference client fir the API), but it's not secure authentication, it's just a secure connection. The way to do that is to a) enable SSL on your site, and b) point the client to the HTTPS version of your site. That's all you need to use the security features in Requests.
- pknight 13y agoawesome, thank you!