Here is the Route file Route::get('/api/v1/orders/create', 'CallController@create');
Below is the Controller
public function create(Request $request )
{
Log::info('start to test webhook from woocommerce order');
Log::info($request->Headers['X-WC-Webhook-Source']);
Log::info($request->all());
dd($request->Headers['X-WC-Webhook-Source']);
}
There is no output from the $request object. Please help, thank you
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire