# SW6 REST-API Response: Was mach ich falsch?

**URL:** <https://forum.shopware.com/t/sw6-rest-api-response-was-mach-ich-falsch/67275>\
**Category:** Allgemein\
**Created:** [28. Mai 2020 um 11:19 UTC](https://forum.shopware.com/t/sw6-rest-api-response-was-mach-ich-falsch/67275 "2020-05-28T11:19:34Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Lukashwm](https://avatars.discourse-cdn.com/v4/letter/l/49beb7/32.png) [@Lukashwm](https://forum.shopware.com/u/Lukashwm)\
**Post date:** [3. Juni 2020 um 12:57 UTC](https://forum.shopware.com/t/sw6-rest-api-response-was-mach-ich-falsch/67275/5 "2020-06-03T12:57:01Z")

</div>

Versuch dir die Ausgabe mal so zu holen, das ist der gleiche Weg wie beim herausziehen des Oauth Tokens aus dem Beispiel:

$response\_body&nbsp;= json\_decode($response-\>getBody()-\>getContents(), true);

---

_[View the full topic](https://forum.shopware.com/t/sw6-rest-api-response-was-mach-ich-falsch/67275)._
