You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version: 2.0
Laravel Version: 8.12
Php Version: 7.4.25
Issue: Any content type except json isn't being parsed correctly. Issue might be the placement of payload in the request when CallWebhookJob is run. Payload is not accessible via laravel $request->input() or $request->all() on the client side. Urlencoded formdata payload is parsed as key with value null.
This discussion was converted from issue #109 on November 24, 2021 17:51.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Version: 2.0
Laravel Version: 8.12
Php Version: 7.4.25
Issue: Any content type except json isn't being parsed correctly. Issue might be the placement of payload in the request when CallWebhookJob is run. Payload is not accessible via laravel
$request->input()
or$request->all()
on the client side. Urlencoded formdata payload is parsed as key with value null.Spatie\WebhookServer\CallWebhookJob:68
$body = strtoupper($this->httpVerb) === 'GET' ? ['query' => $this->payload] : ['body' => json_encode($this->payload)];
Beta Was this translation helpful? Give feedback.
All reactions