const { http } = require('./util') const request = { get(url, option){ return http(url, { method: 'GET', ...option }) }, delete(url, option){ return http(url, option) }, post(url, option){ return http(url, { method: 'POST', ...option }) } } module.exports = { request }