-
-
Notifications
You must be signed in to change notification settings - Fork 366
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
How to access the REST API? #385
Comments
Could you be more specific? What sort of data do you want to access? |
How do I return a list of users or a specific users? I'm trying to call it from an AJAX function. |
As structured data? We discontinued the JSON API in 0.3.0, but it shouldn't be too hard to implement. Basically, you just need to add a few controller routes (e.g. |
Thanks, Alex. Do you have any sort of REST API in the 0.3.0 release? |
Well, the route structure as a whole is more or less RESTful, see http://www.userfrosting.com/components/#url-structure. It doesn't have a built-in API for structured data, but like I said, that is pretty easy to implement. |
We've been getting a lot of requests for a true REST (so, stateless, sessionless?) API in chat. So, maybe this is something we should consider implementing in a future version. |
Could be an answer? https://github.com/entomb/slim-json-api |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
How do I access the REST API? Let us say that I have UF installed at HTTP://mywebsite.com/userfrosting.
The text was updated successfully, but these errors were encountered: