Hi Dimitri.
I had some issues when reading API response format from a website. Because some are in XML format and others are in plain text, Javascript can't handle both formats in the same function, as it stops if an error is found.
So, I came up with a simple solution:
1) Passing all the...