defaultPostHeaders constant

Map<String, String> const defaultPostHeaders

Default headers for HTTP POST requests, indicating JSON content.

Implementation

static const Map<String, String> defaultPostHeaders = {
  'Content-Type': 'application/json'
};