Skip to content

@saflib/node


Function: formatHttpMethod() ​

formatHttpMethod(method): string

Fixed 5-char HTTP method so paths align (GET vs PATCH).

Parameters ​

ParameterType
methodstring

Returns ​

string