Transform XML into JSON

Use the Datakit plugin to transform XML request bodies into JSON.

This example contains the following nodes:

  1. The node XML_JSON converts the incoming XML request body into JSON format.
  2. The node EXIT sends the produced JSON data back directly as the response body, without proxying it upstream.

Set up the plugin

Something wrong?

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!