# \*SOLVED\* Why is $\_REQUEST blank now?

**URL:** <https://forums.plex.tv/t/solved-why-is-request-blank-now/811406>\
**Category:** Dev/API Corner\
**Tags:** other-dev, webhooks\
**Created:** [September 19, 2022, 12:52pm UTC](https://forums.plex.tv/t/solved-why-is-request-blank-now/811406 "2022-09-19T12:52:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![PalsyP](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/palsyp/32/167182_2.png) [@PalsyP](https://forums.plex.tv/u/PalsyP)\
**Post date:** [September 19, 2022, 12:52pm UTC](https://forums.plex.tv/t/solved-why-is-request-blank-now/811406/1 "2022-09-19T12:52:36Z")

</div>

I save what I add to my Plex to a database via a webhook page… It was working fine with

```auto
$data = json_decode($_REQUEST['payload']);

```

However, it returns empty - not sure when this started to happen.

Has something changed? Does it send the JSON differently these days (eg. not in $\_REQUEST)? Even tried $\_POST/$\_GET, empty as well.

TIA

---

<div class="post-metadata">

**Author:** ![PalsyP](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/palsyp/32/167182_2.png) [@PalsyP](https://forums.plex.tv/u/PalsyP)\
**Post date:** [September 19, 2022, 8:37pm UTC](https://forums.plex.tv/t/solved-why-is-request-blank-now/811406/2 "2022-09-19T20:37:27Z")

</div>

Ok, so I changed my webserver to redirect to www. if it’s not appended to the domain, therefore it redirects with a GET, and the URL I defined for the webhook didn’t have www in… I feel stupid…
