04-23-2018 13:49
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

Jogger
4
0
2
04-23-2018 13:49
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hello, in our PHP backend - we've set up our subscription webhook. We are receiving notifications from Fitbit, but some of them are completely empty.
Say, 1/3 are filled with json data, as expected. The rest of them is just empty. Anyone here experienced this before?
We parse the $_POST like this:
$response = file_get_contents('php://input');
if(!empty($response))
{
And then I just log the $response in the database. This is how I know that it's empty.
Any suggestion on how to debug it further, or maybe figure out what could be wrong?

Labels:
- Labels:
-
Subscriptions API
0 REPLIES 0
