UNPKG

@typed/http

Version:

HTTP requests for node and browsers

10 lines 340 B
import { addQueryParameters } from '@typed/common'; import { http } from './http'; /** * Create Get Requests * @param url :: string * @param options :: GetOptions * @returns :: Request<A> */ export const get = (url, options = {}) => http(addQueryParameters(url, options.queryParameters || {}), options); //# sourceMappingURL=get.js.map