After receiving data from a URL in the form of json, I must respond with status [acknowledgment] (ACK 200) so that it does not continue to send the notification. this is the function:
public function tryNotification(Request $request) {
//recibimos la notificacion y la procesamos
$request = json_decode($request);
//guardamos la notificacion en la BD
$saveNotification = new Notifications();
$saveNotification->seller_id = $request->user_id;
$saveNotification->resource = $request->resource;
$saveNotification->topic = $request->topic;
$saveNotification->received = $request->received;
$saveNotification->save();
//envia mensaje de RECIBIDO a Meli
//aqui necesito la ayuda de como enviar respuesta de recibido al servidor
//retorna datos guardados en la BD
return response()->json($saveNotification);
}