Reputation: 15434
I wrote some cake php shell and I need some data as a result of executing it - let's say some data in json - is it possible to return some data from cake shell command? Or maybe there is some workaround? The problem is that this shell will be executed by some external script (not cake) and my shell should return some data...
Upvotes: 0
Views: 190
Reputation: 2545
from cake shell you can simply run GET request with parameters to some address where you can listen for it...
Upvotes: 0