httpHeaders top-level constant Client-Server API

Map<String, String> const httpHeaders

This is default headers for http request.

Before send, it should be concatenated with 'api_key'.

{@category Client-Server API}

Implementation

const Map<String, String> httpHeaders = {
  'Content-type': 'application/json',
  'Accept': 'application/json',
};