We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently the jobapi returns JSON-P with a hardcoded yawikParseJobs https://github.com/cross-solution/YAWIK/blob/develop/module/Jobs/src/Jobs/Controller/ApiJobListByOrganizationController.php#L45 e.g. https://yawik.org/demo/de/api/jobs/organization/55ae775c6b10f8f05b8b457f
Is it possible to return by default only JSON and JSON-P via a dynamic callback Parameter e.g. https://yawik.org/demo/de/api/jobs/organization/55ae775c6b10f8f05b8b457f?callback=mycallbackfunction
@TiSiE what do you think?
The text was updated successfully, but these errors were encountered:
adds callback name to the api/jobs/organization route (gh-477)
f3b89c8
this is much better than the current hardcoded callback name.
I've implemented the callback name as an additional route parameter.
So an URL will look like api/jobs/organization/55ae775c6b10f8f05b8b457f/myCallBack
Sorry, something went wrong.
adds callback name to the api/jobs/organization route (gh-477) (#479)
71499f2
* adds "callback" as a query parameter (gh-477) * adds unittest * renames $sm to $serviceManager
Works now as requested
No branches or pull requests
Currently the jobapi returns JSON-P with a hardcoded yawikParseJobs
https://github.com/cross-solution/YAWIK/blob/develop/module/Jobs/src/Jobs/Controller/ApiJobListByOrganizationController.php#L45
e.g.
https://yawik.org/demo/de/api/jobs/organization/55ae775c6b10f8f05b8b457f
Is it possible to return by default only JSON and JSON-P via a dynamic callback Parameter e.g.
https://yawik.org/demo/de/api/jobs/organization/55ae775c6b10f8f05b8b457f?callback=mycallbackfunction
@TiSiE what do you think?
The text was updated successfully, but these errors were encountered: