How to use the ky-universal.put function in ky-universal

To help you get started, we’ve selected a few ky-universal examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github saltyshiomix / ark / lib / http / index.ts View on Github external
public async put(url: string, data?: any): Promise {
    return ky.put(url, { prefixUrl, json: data }).json();
  }