# Darf man sich schon was wünschen?

**URL:** <https://forum.shopware.com/t/darf-man-sich-schon-was-wunschen/56477>\
**Category:** Shopware Playground - API first Sandbox\
**Created:** [15. November 2018 um 18:20 UTC](https://forum.shopware.com/t/darf-man-sich-schon-was-wunschen/56477 "2018-11-15T18:20:20Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Shopwareianer](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@Shopwareianer](https://forum.shopware.com/u/Shopwareianer)\
**Post date:** [16. November 2018 um 05:35 UTC](https://forum.shopware.com/t/darf-man-sich-schon-was-wunschen/56477/3 "2018-11-16T05:35:09Z")

</div>

> [@brettvormkopp schrieb:](https://forum.shopware.com/profile/6611/brettvormkopp "brettvormkopp")
> 
> - statt **/storefront-api/?limit=10&offset=23** &nbsp;sowas wie **/storefront-api/** &nbsp;und die details dazu als objektkörper&nbsp; **{api: „product“, limit: 10, offset: 23}** kein plan wie das heisst, bin kein Programmierer 😃 es muss aber so sein, dass ich später [https://meineinstanz.pg.shopware.com](https://meineinstanz.pg.shopware.com) „forwarden?“ kann auf [https://meinedomainSamedomain.de](https://meinedomainSamedomain.de) , ist das QSA,L ?

Wie willst du denn sonst Parameter übertragen? Und was ist so schlimm daran, die Parameter zu übertragen? 😃  
Letztendlich kannst du die natürlich auch als Objekt weiter geben … Kommt halt darauf an, wie du es programmierst …

Simples dirty Beispiel zu Testzwecken:

```
  componentDidMount() {
    var p = {
      active: 1,
      name: "test"
    };

    var result = "?";
    for (var key in p) {
      if (p.hasOwnProperty(key)) {
        var filter = "filter[product." + p[key] + "]=" + key + "&";
        result += filter;
      }
    }

    console.log(result);
  }

```

&nbsp;So bum … Letztendlich liegt es an dir wie du die Daten überträgst, nicht an der API …

---

_[View the full topic](https://forum.shopware.com/t/darf-man-sich-schon-was-wunschen/56477)._
