-
Hi, I bought WPLMS theme and Ionic app.
My Ionic app is not working because WordPress server returns “rest_no_route” when call some Rest API.
For example, http://[my_server]/wp-json/wplms/v1/course/category returns json below.
<pre style=”color: #000000; overflow-wrap: break-word; white-space: pre-wrap;”>{“code”:”rest_no_route”,”message”:”URL\uacfc \uc694\uccad \ubc29\ubc95\uc774 \uc77c\uce58\ud558\ub294 \ub8e8\ud2b8\ub97c \ucc3e\uc744 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4″,”data”:{“status”:404}}(But when I access API root path, it seems to work well. For example, http://[my_server]/wp-json/wplms/v1 returns json below.
<pre style=”overflow-wrap: break-word; white-space: pre-wrap;”>{“namespace”:”wplms\/v1″,”routes”:{“\/wplms\/v1”:{“namespace”:”wplms\/v1″,”methods”:[“GET”],”endpoints”:[{“methods”:[“GET”],”args”:{“namespace”:{“required”:false,”default”:”wplms\/v1″},”context”:{“required”:false,”default”:”view”}}}],”_links”:{“self”:”http:\/\/[my_server]\/wp-json\/wplms\/v1″}},”\/wplms\/v1\/reports\/top_competion_courses”:{“namespace”:”wplms\/v1″,”methods”:[“GET”],”endpoints”:[{“methods”:[“GET”],”args”:[]}],”_links”:{“self”:”http:\/\/[my_server]/wp-json\/wplms\/v1\/reports\/top_competion_courses”}},”\/wplms\/v1\/reports\/top_learner_completions”:{“namespace”:”wplms\/v1″,”methods”:[“GET”],”endpoints”:[{“methods”:[“GET”],”args”:[]}],”_links”:{“self”:”http:\/\/[my_server]\/wp-json\/wplms\/v1\/reports\/top_learner_completions”}}},”_links”:{“up”:[{“href”:”http:\/\/[my_server]\/wp-json\/”}]}}
Is there I missed things? How can I fix it?Well there is no such endpoint available in wplms api as of now and our wplms app does not have any api call written .
Are you custimizing the app ?for available endpoints please refer : https://vibethemes.github.io/wplms-docs/developer-guide.html#api-docs
Also for app related issues please cretae topic here : wplms.io/forums
This is theme support forums .
Hello
Yes you can post there for app support related quiry.
But if you have any problem related to our wplms theme then please let me know.
The topic ‘/wp-json/wplms/v1/course/category returns "rest_no_route"’ is closed to new replies.