Broken API – HTTP 302 code
-
I am trying to update an old website with Learnpress to reactive interesting training materials. The website was developed by someone who left our company and I’m facing issue to make it work.
I have 2 different problems but probably with the same cause:
- When a user wants to enroll to a course A, the enroll button does not seem to work as it brings back the user to the list of available courses. ==> I see an API Call “/wp-json/lp/v1/courses/enroll-course?_locale=user” by POST method that gets an HTTP 302 code
- When the same user wants to enroll to a course B, the button to start does not even appear as if it was not possible to check the status of the user for this course (can enroll, already enrolled, etc.) => API CALL in POST method “/wp-json/lp/v1/lazy-load/course-progress?_locale=user” gets an HTTP 302 code
In both cases the API does not seem to provide the expected answer but I can’t figure out the problem. I sometimes get an error message telling the JSON Response is not valid.
Any help would be appreciated.
s
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.