customer’s downloads URL post REST API
-
Using the REST API successfully to get customer’s downloads data. When, WC is configured to require users to be logged in to process download URL, authentication becomes a challenge. Basic authentication is being used with REST API right now.
An iOS app is using the REST APIs and to request the download URL.
The questions is how and where to authenticate appropriately to get the necessary cookies (wordpress_logged_in_XXXX, etc) such that the download URL works when logged in to download is enabled.
I was maybe hoping that the WP cookies could be generated by the customers/#/downloads endpoint. If so, we already have custom plugin/endpoints for REST API. It wasn’t so clear what filter to use / how.
If logging in another way can work, we can probably do that too.
- The topic ‘customer’s downloads URL post REST API’ is closed to new replies.