I’m looking around the IC docs for the usage of DELETE HTTP methods and i can’t find any. Here is a snippet from the IC management canister:
type http_request_args = record {
url : text;
max_response_bytes : opt nat64;
method : variant { get; head; post };
headers : vec http_header;
body : opt blob;
transform : opt record {
function : func(record { response : http_request_result; context : blob }) -> (http_request_result) query;
context : blob;
};
};
From the looks of it, currently only get
, head
and post
are supported. How do we manage using delete
and put
http methods?