Posts by JhowBhz • 70 points
3 posts
-
0
votes0
answers11
viewsQ: Manipulate the Guzzle exception and get the HTTP body
I would like to deal with Guzzle errors when the server returns 4xx and 5xx status codes. I make a request like this one: $client = $this->getGuzzleClient(); $request = $client->post($url,…
-
0
votes2
answers105
viewsA: getJSON with parsererror
$.getJSON($('#base-url').val() + '/matricula/excluir/' + sf, function(data) { // tente modificar inserir isso antes do console.log var data = JSON.parse(data); console.log(…
-
3
votes1
answer147
viewsA: Error switching hosting server - Laravel PHP
Try to update the Composer php composer update Another thing, give permissions to your "cache folder" sudo chmod -R 755 storage bootstrap/cache…