Optionalasynctrue in an async receipt.
OptionalbodyResponse body, as text or Base64 according to responseType; present in a synchronous response.
OptionalheadersResponse headers by name; of repeated headers the last one wins. Present in a synchronous response.
OptionalrequestId of the request; present in an async receipt. http:response and http.abort use it.
Optionalresponsetext or base64, the encoding of body; present in a synchronous response.
OptionalstatusHTTP status code; present in a synchronous response.
Always true here; a failed call resolves with ApiFailure instead.
Successful response from
http.post.