insomnia/app/lib/constants.js

23 lines
596 B
JavaScript
Raw Normal View History

2016-03-20 04:00:40 +00:00
// HTTP Methods
export const METHOD_GET = 'GET';
export const METHOD_PUT = 'PUT';
export const METHOD_POST = 'POST';
2016-04-07 01:11:16 +00:00
export const METHOD_PATCH = 'PATCH';
2016-03-20 04:00:40 +00:00
export const METHOD_DELETE = 'DELETE';
export const METHOD_OPTIONS = 'OPTIONS';
export const METHOD_HEAD = 'HEAD';
2016-04-04 07:15:30 +00:00
2016-03-20 20:42:27 +00:00
export const METHODS = [
METHOD_GET,
METHOD_PUT,
2016-04-07 01:11:16 +00:00
METHOD_PATCH,
2016-03-20 20:42:27 +00:00
METHOD_POST,
METHOD_DELETE,
METHOD_OPTIONS,
METHOD_HEAD
];
2016-04-04 07:15:30 +00:00
2016-04-23 06:08:52 +00:00
export const MODAL_REQUEST_RENAME = 'request.update.name';
export const MODAL_REQUEST_GROUP_RENAME = 'requestgroup.update.name';
export const MODAL_ENVIRONMENT_EDITOR = 'environment.edit';