Blog Articles
How to solve CORS origin policy in CodeIgniter?
You need to add this code (header(‘Access-Control-Allow-Origin: *’);) in this path (/public_html/application/libraries/rest_controller.php).
You need to add this code (header(‘Access-Control-Allow-Origin: *’);) in this path (/public_html/application/libraries/rest_controller.php).
Lorem ipsum dolor sit amet, consectetur.