Most voted "content-type" questions
3 questions
Sort by count of
-
1
votes0
answers1186
viewsPHP - file_get_contents('php://input') is the only way to read contenttype=application/json request?
I have the following Jquery Ajax method function postRefreshJson(_action, jsonModel) { $.ajax({ url: _action, method: 'POST', beforeSend: function (xhr) { $("body").css("cursor", "progress"); },…
-
0
votes1
answer749
viewsSet up headers in Axios?
I’m using Axios to make requests between client and server, but I’m having problems with headers. When I make the requests by Postman returns exactly what I want (which in case is a PDF), but when I…
-
-1
votes1
answer142
viewsImages with content-type as text/html, how to solve?
I am making a foreach in the controller to test if it is returning all images the problem is that the images do not appear because the content-type is as text/html, when I am using the index method…