UNPKG

@abalmus/request

Version:

Core utils, fetch wrapper, querystring utils

19 lines (17 loc) 305 B
export const METHODS = [ 'GET', 'HEAD', 'PUT', 'POST', 'PATCH', 'DELETE', 'OPTIONS' ]; export const DEFAULT_OPTIONS = { 'normalizeUrl': true, 'format': 'default', 'credentials': 'same-origin', 'headers': { 'X-Requested-With': 'XMLHttpRequest' } };