Claudio Zurita

Results 2 comments of Claudio Zurita

I got the same problem. In the docs: `// The Headers object associated with the request headers: { 'Content-Type': 'application/json' // Default header for methods with body (patch, post &...

I was watching this method: ```javascript _initMethodsWithBody() { const defaultConf = { headers: { 'Content-Type': 'application/json' }, } ;['post', 'put', 'patch'].forEach((method) => { this._config.set({ [method]: defaultConf }) this[method] = (path,...