Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Way to get the client JavaScript library for REST API for remote apps #96

Open
velara3 opened this issue Jun 13, 2020 · 1 comment
Open

Comments

@velara3
Copy link

velara3 commented Jun 13, 2020

It looks like backbone.js is the client side library for making calls to the WP REST API. The documentation shows how to have WordPress add that library to the page but there are many apps that use WordPress as a CMS.

Could a section be added on how to separate and use the library in an external application or client?

Consider the use case where Morgan is making a mobile app but wants to display the blog posts in that app. He wants to use JS library independently to get those posts and allow users to comment from the app.

https://developer.wordpress.org/rest-api/using-the-rest-api/backbone-javascript-client/

@TimothyBJacobs
Copy link
Member

I'm not sure if there is a recommended way to get that library outside of WordPress. cc @adamsilverstein.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants