Welcome Guest, Not a member yet? Register   Sign In
Capturing post data from C++ application in Codeigniter 4
#5

(This post was last modified: 05-16-2022, 01:00 AM by InsiteFX.)

Also do not use the access control * use the full url link. for security reasons.

Code:
Header add Access-Control-Allow-Origin: "https://yoursite.com"
Header add Access-Control-Allow-Methods: "GET,POST,OPTIONS,DELETE,PUT"
Header add Access-Control-Allow-Headers: "Upgrade-Insecure-Requests"
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
RE: Capturing post data from C++ application in Codeigniter 4 - by InsiteFX - 05-16-2022, 12:58 AM



Theme © iAndrew 2016 - Forum software by © MyBB