-
-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
received data format issue #11
Comments
Sorry, this doesn't really relate to this package. |
I guess I'll have to explain in better way. Following is my code in controller:
I'm unable to get any response in this, now if I do
Which should be actually:
But somehow I'm also getting this:
For more relevance let me show you the screenshot: Moreover in browser dom when called: I've not used any of the feature except your facade, hope you get what is the issue. Thank you for your time. |
Hello,
I'm using your codes in my application built on
laravel 5.5
, where I'm facing some problem, I'm trying to retrieve list of commit details for my repository and I'm unable to use the response format. I'm trying to do something like this:I'm getting a response which is not in JSON format:
I've already tried return
response()->json(['data' => $data], 200)
which was giving me no data. I can see headers data is also coming, if I usejson_decode($data)
it is gives me error which clearly shows is not a JSON. How can I format this to a proper JSON response?The text was updated successfully, but these errors were encountered: