Welcome Guest, Not a member yet? Register   Sign In
CORS Issue with Codeigniter v4.1.3
#5

i had the same problem. it was working on apps like postman but throws cors error on my vue app. then i realized, it's only throws cors error when i don't return $this->respond function on controller. If u echo or print any data and cut the function with die or exit without returning $this->respond() function, throws cors error.
Reply


Messages In This Thread
CORS Issue with Codeigniter v4.1.3 - by 2k10cs86 - 09-06-2021, 12:32 PM
RE: CORS Issue with Codeigniter v4.1.3 - by paliz - 09-09-2021, 08:37 AM
RE: CORS Issue with Codeigniter v4.1.3 - by muratdemrel - 09-05-2022, 02:29 AM



Theme © iAndrew 2016 - Forum software by © MyBB