Variant

method

This type corresponds to HTTP standard Methods.

variant method {
  get,
  head,
  post,
  put,
  delete,
  connect,
  options,
  trace,
  patch,
  other(string),
}

Cases

CasePayloadDescription
get
head
post
put
delete
connect
options
trace
patch
otherstring