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

Allow bypassing content negotiation during API responses. #2904

Merged
merged 2 commits into from
Apr 29, 2020

Conversation

lonnieezell
Copy link
Member

Allow bypassing content negotiation during API responses by specifically setting the value of the controller's $format to either json or xml. It will default to json just like it always has.

If $format is null, it will be automatically determined through content negotiation.

@lonnieezell lonnieezell merged commit a5815ce into develop Apr 29, 2020
@lonnieezell lonnieezell deleted the apiformat branch June 24, 2020 13:41
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

Successfully merging this pull request may close these issues.

2 participants