Questions tagged as 'laravel'

0
answers

POST with AngularJS and Laravel

I'm trying to send via POST to my laravel backend, but on the console it points to the error:    POST link 500 (Internal Server Error)! ! Here's my AngularJS code <!DOCTYPE html> <html ng-app="myApp"> <head> &l...
asked by 31.05.2018 / 18:21
0
answers

Request POST with angular js for backend LARAVEL

I would like to know how do I submit a form via POST using angularJS for my LARAVEL application.     
asked by 31.05.2018 / 21:30
0
answers

Avoiding DDOS Alerts Due to Multiple Requests

I'm developing an application in Laravel , where I have to use Web Scraping techniques to extract data from some sites, and make it available to the user. I have already programmed the Spider-Scripts to mine this data, and they are working...
asked by 01.06.2018 / 18:04
1
answer

Run php artisan in a different directory

How to run the command: php artisan ... In a different directory so that the generated files are in the folder I set     
asked by 01.06.2018 / 18:01
0
answers

$ request-input always returns null

angularjs file $http({ method: 'POST', url: API_URL + "produto/update" + "/" + produtoSelecionado, data: $.param(obj), headers: { 'Content-Type': '...
asked by 07.06.2018 / 18:57
0
answers

How to limit number of paragraphs in Ckeditor?

Good afternoon guys! I need to limit in a textarea, with Ckeditor, the number of paragraphs. I need the person to type just one paragraph, necessarily . I also need to limit this paragraph to a maximum of 1000 words. Beauty, this is easy....
asked by 07.06.2018 / 22:28
0
answers

Import Excel - Laravel

I'm trying to import a csv into the database, but it's not making a difference <script> $(document).ready(() => { $("#import").click((e) => { var file = $("#file").prop('files'); const importFile = file[0]; const r...
asked by 04.06.2018 / 17:48
0
answers

Error - ReportController.php: 529: Undefined property: stdClass :: $ category "]

   X-Adagio-Warning ["/var/www/projects/dev/app/Http/Controllers/Zen/Cartorial/ReportController.php:   529: Undefined property: stdClass :: $ category "] I commented two lines below, but I do not want to bring them in my report, but it is de...
asked by 30.05.2018 / 17:02
1
answer

JSON in Laravel

I would like to know how to send the query data in json through the controller and how the view should receive them. Controller: $dados = $req->all(); $query = ""; if($dados['filter'] == 1) { $query = User::where('id','LIKE','%'.$da...
asked by 29.05.2018 / 16:04
0
answers

Ionic 3 + laravel. Problem with http request on server

Edit: Solution 000webhost does not accept ' options ' requests in your free plan. I was able to solve the problem by making the laravel available in local network with the function php artisan serve --host=IP --port=8000 I'm dev...
asked by 29.05.2018 / 05:30