I want to redirect to an url with json response, how can I do that ? for example :

I was trying by the following code so far :

```
  return redirect("C:\laravel\cyberSeuritySummit2021\cyberSecuritySummit")->response()- 
  >json(['success'=>'Payment Successful !']);

```