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 am trying to implement paged requests to woocommerce.
I understand there is a per_page parameter as well as a page parameter on the requests, as described here
Also, I understand that there is a link header available, as well as x-wp-total and x-wp-totalpages headers, which are also described.
However, it is not clear to me how I can use the value of the link header with the api, other than string parsing that header and plucking out the values for per_page and page for the next request.
The text was updated successfully, but these errors were encountered:
I am trying to implement paged requests to woocommerce.
I understand there is a
per_page
parameter as well as apage
parameter on the requests, as described hereAlso, I understand that there is a
link
header available, as well asx-wp-total
andx-wp-totalpages
headers, which are also described.However, it is not clear to me how I can use the value of the link header with the api, other than string parsing that header and plucking out the values for
per_page
andpage
for the next request.The text was updated successfully, but these errors were encountered: