@optionfactory/ful 4.0.8 → 4.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/ful.iife.js CHANGED
@@ -421,11 +421,12 @@ var ful = (function (exports, ftl) {
421
421
  * @returns {HttpRequestBuilder} the builder
422
422
  */
423
423
  static create(client, method, uri) {
424
+ const [baseUri, queryString = ''] = uri.split('?');
424
425
  return new HttpRequestBuilder(
425
426
  client,
426
427
  method,
427
- uri,
428
- new URLSearchParams(),
428
+ baseUri,
429
+ new URLSearchParams(queryString),
429
430
  new Headers(),
430
431
  undefined,
431
432
  {},