Skip to content

Support bundle with extension #13

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sntran
Copy link
Contributor

@sntran sntran commented May 6, 2014

Bundle with extension in its name will has API response served
directly instead of the standard JSON response.

Currently, the supported extensions are .kml, .xml, .json.

Note that when using this type of bundle, only the first key in
the bundle will be served.

For example, by exporting sample.kml instead of just sample,
the first API's response will be returned when performing request
to /sample.kml.

Bundle with extension in its name will has API response served
directly instead of the standard JSON response.

Currently, the supported extensions are `.kml`, `.xml`, `.json`.

Note that when using this type of bundle, only the first key in
the bundle will be served.

For example, by exporting `sample.kml` instead of just `sample`,
the first API's response will be returned when performing request
to `/sample.kml`.
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.

1 participant