Reply To: getting 401 on rest api

#41842

Scott Lang
Keymaster

Hi,

Yes, we are getting error for access API refer to this image:http://prntscr.com/qhssj4 . It allows only logged-in user to access the API for some kind of restriction.

Try this URL:http://pertamina.diconic.co.id/wp-json/wplms/v1/course/popular?per_view=5 after login and non-login.

Please share your c-panel details in private reply.