insomnia/app/constants/global.js

20 lines
457 B
JavaScript
Raw Normal View History

2016-03-20 04:00:40 +00:00
// Global
export const LOCALSTORAGE_DEBOUNCE_MILLIS = 1000;
export const LOCALSTORAGE_KEY = 'insomnia';
// HTTP Methods
export const METHOD_GET = 'GET';
export const METHOD_PUT = 'PUT';
export const METHOD_POST = 'POST';
export const METHOD_DELETE = 'DELETE';
export const METHOD_OPTIONS = 'OPTIONS';
export const METHOD_HEAD = 'HEAD';
2016-03-20 20:42:27 +00:00
export const METHODS = [
METHOD_GET,
METHOD_PUT,
METHOD_POST,
METHOD_DELETE,
METHOD_OPTIONS,
METHOD_HEAD
];