Thursday, 23 April 2015

php CORS ajax -jquery

php CORS ajax -jquery :
=======================
php ajax cross domain origin request

addthe below line in php file :

Cross origin is solved from server end...

<?php
header("Access-Control-Allow-Origin: *");
?>

No comments:

Post a Comment

Tanstack query vs React Fetch -Axios

import { useQuery } from "@tanstack/react-query"; function Users() { const { data, isLoading, isError, error } = useQuery({ ...