OptionalbaseOptionaldataRequest body data Only applicable for methods POST, PUT, PATCH, and DELETE
OptionalheadersHeaders to be sent with the request
OptionalmethodHTTP method Allow values are GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS Default is 'GET'
OptionalparamsQuery parameters to be sent with the request
OptionalresponseThe type of data that the server will respond with Allowed values are: 'arraybuffer', 'blob', 'document', 'json', 'text', 'stream', 'formdata' Default is 'json'
OptionaltimeoutRequest timeout in milliseconds
Default is 0 (no timeout)
Request URL
baseURLwill be prepended tourlunlessurlis absolute.