Replies: 1 comment
-
The answer is passing a custom header $response = $this->getJson(
"/contacts?draw=8&columns%5B0%5D%5Bdata%5D=id&columns%5B0%5D%5B......................",
['X-Requested-With' => 'XMLHttpRequest']
);
dump($response->json('data.0.id')); Thanks @yajra |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, first of all I need to say thanks for this absolutely great package.
I'm trying to access the datatable json data response from phpunit for testing
when I try to do that, I get the html response of
Thanks
Beta Was this translation helpful? Give feedback.
All reactions