Open philipborbon opened 4 years ago
Tried using app('api.dispatcher')->raw()->get('/data')
app('api.dispatcher')->raw()->get('/data')
And getting response like this
{ "exception": null, "headers": [], "original": [ { "id": 1, "value_type_id": 1, "sort": null,
End point response in /data is using Transformer. Expecting to receive a transformed data.
/data
1) Create endpoint with response using transformer 2) Call endpoint using dispatcher with raw
Actual Behaviour
Tried using
app('api.dispatcher')->raw()->get('/data')
And getting response like this
Expected Behaviour
End point response in
/data
is using Transformer. Expecting to receive a transformed data.Steps to Reproduce
1) Create endpoint with response using transformer 2) Call endpoint using dispatcher with raw