mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-12 12:33:07 +00:00
19 lines
425 B
TypeScript
19 lines
425 B
TypeScript
/**
|
|
* Represents a Request Method.
|
|
*
|
|
* I didn't reuse the RequestMethod enum in @angular/http because
|
|
* it uses numbers. The string values here are more clear when
|
|
* debugging.
|
|
*
|
|
* The ones commented out are still unsupported in the rest of the codebase
|
|
*/
|
|
export enum RestRequestMethod {
|
|
GET = 'GET',
|
|
POST = 'POST',
|
|
PUT = 'PUT',
|
|
DELETE = 'DELETE',
|
|
OPTIONS = 'OPTIONS',
|
|
HEAD = 'HEAD',
|
|
PATCH = 'PATCH'
|
|
}
|