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

examples #169

Open
maxdiable opened this issue Jun 28, 2018 · 1 comment
Open

examples #169

maxdiable opened this issue Jun 28, 2018 · 1 comment

Comments

@maxdiable
Copy link

hi,
any example width ajax jquery for call an odata function?

br
Max

@CyberiaResurrection
Copy link
Contributor

Hi @maxdiable,

If I understand your question correctly, you're asking how to call a POData-Laravel powered endpoint via an ajax call in jquery?

I guess you could kludge it up by simply passing the target endpoint (eg /odata.svc/Users) as the url parameter in the ajax call, and the various parameters needed (skip, take, orderBy) as separate parameters in that ajax call.

We do have a JSON output option, but that's currently broken - would you be willing to help us sort that out, with code, testing, or the like?

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