Skip to content

Conversation

@sodre
Copy link
Member

@sodre sodre commented Jan 19, 2021

This PR lets the user export the results in either GateXML or GateJSON format.

The user can make this selection by setting the Accept header to either

  • GateXML: application/xml
  • GateJSON: application/json

To maintain compatibility with our previous version, any value (or lack of) other than the ones above will default to GateXML format.

@sodre sodre merged commit 314e3c6 into main Jan 19, 2021
@sodre sodre deleted the f/json-output branch January 19, 2021 03:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants