UNPKG

@tuentyfaiv/http

Version:

Library for http requests based on fetch

2 lines (1 loc) 284 B
const e={GET:"GET",POST:"POST",PUT:"PUT",DELETE:"DELETE",PATCH:"PATCH",OPTIONS:"OPTIONS"},t={get:"get",post:"post",put:"put",delete:"delete",patch:"patch",options:"options"};Object.freeze(e),Object.freeze(t),Object.seal(e),Object.seal(t);export{e as HttpMethod,t as HttpMethodLower};