JWT and other APIs
-
I am wondering if i can get direction on how to access other APIs after setting up JWT.
My sites api url is
https://sub.mysite.com/wp-json/wp/v2/users
This is an example api for Paid Membership Pro
https://example.com/wp-json/pmpro/v1/change_membership_level?user_id=1&level_id=3
I have tried
https://sub.mysite.com/wp-json/wp/pmpro/v1/change_membership_level?user_id=1&level_id=3
https://sub.mysite.com/wp-json/wp/v2/pmpro/v1/change_membership_level?user_id=1&level_id=3
https://sub.mysite.com/wp-json/pmpro/v1/change_membership_level?user_id=1&level_id=3All return
{ "code": "rest_no_route", "message": "No route was found matching the URL and request method.", "data": { "status": 404 } }
Please let me know what the correct url would be.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘JWT and other APIs’ is closed to new replies.