apiBody top-level constant

List<String> const apiBody

List of HTTP body types used by the library.

The types are used as the value for the body parameter in http.request.

Currently, the library supports only JSON and URL-encoded forms.

Implementation

const List<String> apiBody = [
  "application/json",
  "application/x-www-form-urlencoded"
];