Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

[solved] create webhook & URL not reachable

fiqo
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 24, 2020

I try to create webhook with laravel mongodb

api.php

Route::post('trelloCallback', 'TrelloController@store');

Controller

public function store(Request $request) 
{
Trello::create($request->json()->all());
return response()->json([
'message' => 'success',
'status' => Response::HTTP_OK
]);
}

 but got response

Unirest\Response Object
(
    [code] => 400
    [raw_body] => {"message":"URL (https://da9b0a1782fe.ngrok.io/api/trelloCallback) not reachable. Error: ESOCKETTIMEDOUT","error":"ERROR"}
    [body] => stdClass Object
        (
            [message] => URL (https://da9b0a1782fe.ngrok.io/api/trelloCallback) not reachable. Error: ESOCKETTIMEDOUT
            [error] => ERROR
        )
)

how to solve this?

Thank you 

 

just need real domain

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events