Hi, I have an EndPoint of type HTTP Request. When invoked, the HTTP request (a POST in my case) returns an HTTP status code: 200 if successful, 400 if I messed up things or 500 if the target service is fubar. In addition, the response includes a JSON body. (To be specific I invoke the Pushover API https://pushover.net/api#friendly, but my query on this forum is generic for any HTTP Request made via a Thinger End Point.)
Is there a way for me to access this HTTP status code from Arduino code? All thing.call_endpoint returns is a boolean, not entirely sure what it means but I suspect this is a simple acknowledgement that the Thinger platform has registered the call, not that it’s been executed (kind of async behaviour).
Going one step further, is there a way to obtain the response body of the HTT request made via an End Point?