fix: Add header for json response, instead of query string