mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 14:49:53 +00:00
24 lines
511 B
JavaScript
24 lines
511 B
JavaScript
// Global
|
|
export const LOCALSTORAGE_DEBOUNCE_MILLIS = 500;
|
|
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_PATCH = 'PATCH';
|
|
export const METHOD_DELETE = 'DELETE';
|
|
export const METHOD_OPTIONS = 'OPTIONS';
|
|
export const METHOD_HEAD = 'HEAD';
|
|
|
|
export const METHODS = [
|
|
METHOD_GET,
|
|
METHOD_PUT,
|
|
METHOD_PATCH,
|
|
METHOD_POST,
|
|
METHOD_DELETE,
|
|
METHOD_OPTIONS,
|
|
METHOD_HEAD
|
|
];
|
|
|