nl_tokens: //// Function request_with_method Generates a specialised request function for the given method . request - with - method :: String - > String { String - > String } - > PromiseP
pl_tokens: function request_with_method ( method ) { return function ( uri , options ) { options = <mask> || { } options . method = method . toUpperCase ( ) return request ( uri , options ) } }