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

set default REST API response to JSON #10

Open
derekeder opened this issue Aug 14, 2013 · 3 comments
Open

set default REST API response to JSON #10

derekeder opened this issue Aug 14, 2013 · 3 comments

Comments

@derekeder
Copy link
Collaborator

Currently the API returns XML by default, but you can get JSON by setting Accept: application/json in the header.

Is it possible to set this to JSON by default? Any thoughts @fkh?

@fkh
Copy link

fkh commented Aug 14, 2013

Not sure, but @demory might know. For the quickest response, you should put this question to the helpful crowd on the OTP mailing list: https://groups.google.com/forum/#!forum/opentripplanner-dev

@derekeder
Copy link
Collaborator Author

@fkh roger that - will do. Thx!

@derekeder
Copy link
Collaborator Author

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