Home Reference Source

Variable

Static Public Summary
public

Form Data can be used to send images.

public

Types of formats of data you can send through body of Fetch request.

public

Url encoded data in body

Static Public

public FORM_DATA_FORMAT: string source

import {FORM_DATA_FORMAT} from 'rest-api-handler/src/dataFormats.js'

Form Data can be used to send images.

See:

public JSON_FORMAT: string source

import {JSON_FORMAT} from 'rest-api-handler/src/dataFormats.js'

Types of formats of data you can send through body of Fetch request.

TODO:

  • rename file to data-formats
  • rename variables to JSON and FORM_DATA

public URL_ENCODED_FORMAT: string source

import {URL_ENCODED_FORMAT} from 'rest-api-handler/src/dataFormats.js'

Url encoded data in body

See: