laravel-5.5

Laravel 5.5 Axios POST results in 419 error

痴心易碎 提交于 2021-01-02 08:43:07
问题 I am trying to make a POST-request to my Laravel API from Vue. The X-CSRF-TOKEN header is set correctly (I see this in the POST-package sent to the server). The route has the default web -middleware. Request Accept:application/json, text/plain, */* Accept-Encoding:gzip, deflate Accept-Language:de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7 Connection:keep-alive Content-Length:2 Content-Type:application/json;charset=UTF-8 Host:api.xxx.local Origin:http://manager.xxx.local Referer:http://manager.xxx.local

laravel/framework requires ext-mbstring

你离开我真会死。 提交于 2020-12-04 19:38:42
问题 I am using Kali linux and I am having difficulty installing the laravel framework. I havelooked up in different links like this one and manyothers but nothing seems to work. For every this I do. It keeps bringing this error laravel/framework v5.5.9 requires ext-mbstring -> ... ... For instance: root@iO-PC:/opt/lampp/htdocs/projects# composer create-project laravel/laravel Test "5.5.*" On processing.. This is what shows up. Installing laravel/laravel (v5.5.28) - Installing laravel/laravel (v5