Take the path of an external file in JSON

Asked

Viewed 13 times

-2

I am working with a project in Laravel in which a controller calls a JSON file with the parameters and this JSON file must take the path of another controller and access the action determined for the parameter type received.

"event_name": "startPayment",
"actions": {
"App/Http/Controllers/actionController": [
"deleteSchedulingEmails",
"saveSchedulingEmails"

The controller will receive the "startPayment" event, will call the action that will be found in the file "actionController" and resume actions. But I believe I’m not getting the correct controller path, because when running the tests it returns nothing.

Would they know the correct way to call an external file in JSON? Thank you!

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.