Error when making an HTTP POST request

I’m attempting to make an HTTP request wherein the body of the request consists of an envelope that features ECDSA signed content. When attempting to make the HTTP request, I get the response that is displayed below. The structure of the args that I provide may be a bit off. Would anyone be able to tell me where the ICRequestContent structure is defined?

( record { status = 400 : nat; body = opt "unable_to_parse_cbor: invalid type: byte array, expected struct ICRequestContent\n"; headers = vec { record { value = "application/cbor"; name = "content-type" } }; }, )

1 Like