Search
 
SCRIPT & CODE EXAMPLE
 

PHP

laravel cors enable

Header always set Access-Control-Allow-Origin "*"
Header always set Access-Control-Allow-Methods "POST, GET, OPTIONS, DELETE, PUT"
Header always set Access-Control-Max-Age "1000"
Header always set Access-Control-Allow-Headers "x-requested-with, Content-Type, origin, authorization, accept, client-security-token"

RewriteEngine On
RewriteCond %{REQUEST_METHOD} OPTIONS
RewriteRule ^(.*)$ $1 [R=200,L]
Comment

PREVIOUS NEXT
Code Example
Php :: symfony clear session 
Php :: laravel where search like with space 
Php :: php if form fails keep data 
Php :: codecept run single test 
Php :: Supprimer automatiquement les mots courts des URL pour un meilleur SEO dans WordPress 
Php :: php obtener slug wordpress 
Php :: laravel view 
Php :: acf select multiple choice array in loop 
Php :: php if simple 
Php :: plesk change php version 
Php :: how to convert number into million and billion suffix in PHP using brick/Money package 
Php :: Total Number Of Words 
Php :: mkdir recursive php 
Php :: how to change laravel logo image 
Php :: push to aws instance ssh without using laravel 
Php :: webiste url filter with pregx 
Php :: laravel chain query builder 
Php :: wordpress microformats vs. schema.org 
Php :: Multiple databases user validation in Laravel 
Php :: find_by model fuelphp 
Php :: How to list notification from database 
Php :: php double dollar not working in php version 8 
Php :: php function return type self 
Php :: php opencart controller 
Php :: php month to local language 
Php :: get popular models on laravel 
Php :: get base class name laravel 
Php :: php decode base64 online 
Php :: php get epoch timestamp of date 
Php :: php raw array without foreach 
ADD CONTENT
Topic
Content
Source link
Name
8+8 =