Using the handler callback you can parse and handle HTTP calls yourself. The default handler tries to cast the response to a JSON format, but you can override it to parse the data in a different format.

In this example, we are parsing https://gridjs.io/sitemap.xml which is a XML formatted document:

Live Editor

Last updated on by Afshin Mehrabani