Hi All.
I am working with an API login endpoint that returns a token in exchange for a username and password.
I am struggling to parse the response from the API call and am receiving the error Invalid JSON response from API: JSON decode error: Syntax error, malformed JSON.
This is presumably because the response is not a json object, but rather a string.
How should this be handled?