Skip to content

Support bundle with extension#13

Open
sntran wants to merge 1 commit intodtex:masterfrom
sntran-contrib:feature/bid.ext
Open

Support bundle with extension#13
sntran wants to merge 1 commit intodtex:masterfrom
sntran-contrib:feature/bid.ext

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