src/lib/Http.js
/**
   * Creates a random POST request.
   * @param {HttpRequestInit=} [init={}]
   */
Creates a random POST request.
Creates a random POST request .
post(init={}) {
    const opts = { ...init };
    opts.method = { ...(opts.method || {}), operation: 'POST' };
    opts.payload = { ...(opts.payload || {}), force: true };
    return this.request(opts);
  }
post ( init = { } ) { const opts = { ... init } ; opts . method = { ... ( opts . method || { } ) , operation : 'POST' } ; opts . payload = { ... ( opts . payload || { } ) , force : true } ; return this . request ( opts ) ; }
Creates a random POST request.
Creates a random POST request .