// `url` is the server URL that will be used for the request url: PropTypes.string.isRequired, // the http method is not required by axios & // defaults to 'get' if not provided method: PropTypes.oneOf(['get', 'post', 'put', 'patch', 'delete', 'head']), // `headers` are custom headers to be sent headers: PropTypes.object, // `params` are the URL parameters to be sent with the request // Must be a