allow cors in serverless code example
Example: apachi configure allow cors in the file directory
Enable CORS in Apache - "C:\xampp\apache\conf\extra -> in httpd-vhosts inside file add this line to access"
Header set Access-Control-Allow-Origin "*"