In the case that an HTTP endpoint throws an error, responds with
anything other than a 200 status code, or in the case that a sibling
GetResultValue throws an error/rejects, this function will
return an APIResult representing a 'failure' or 'error' state.
In the case that an HTTP endpoint throws an error, responds with anything other than a 200 status code, or in the case that a sibling GetResultValue throws an error/rejects, this function will return an APIResult representing a 'failure' or 'error' state.