Cross-origin resource sharing (CORS)
Add the following code in your .htaccess file to execute the Cross-origin resource sharing (CORS).
Want to know more about .htaccess click here.
<IfModule mod_headers.c >
Header set Access-Control-Allow-Origin "*"
Header set Access-Control-Allow-Methods "GET,PUT,POST,DELETE"
Header set Access-Control-Allow-Headers "Content-Type, Authorization"
Creative Designer & Developer specialist by the spirit and a loving blogger by thoughts. If you have any questions let me drop an email with the article name to the following email id: [email protected]