I am trying to make an API call to an API which returns an XML document as the response. This request works fine in post man and with other languages but I am not sure how to get the XML file in godot. When I make the request it just returns 0 as the response and a bunch of comma separated numbers as the body which is confusing because I didn't get that response on postman. Here is the code I am using to make the request.
func _on_HTTPRequest_request_completed(result, response_code, headers, body):
This Code works when making calls to APIs that return json values but im not sure how to get it working with an API that returns an XML