Answer the question
In order to leave comments, you need to log in
How to use webhoom?
Amocrm sends notifications to the address, let's say https://test.ru/webhook. How should I now create a route to pull an array of data from https://test.ru/webhook ?
or
Route::post('webhook', '[email protected]');
Route::get('webhook', '[email protected]');
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class webhook extends Controller
{
public function index(){
return view('pages.webhook');
//и все равно непонятно как выташить данные $_POST[] ?
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question