Skip to content

RESTFUL API with CORS problem #2667

Description

@gilvandev

I know this is not the ideal place to share my problem, but I can't post in the forum because the confirmation email never comes to my inbox.

Well, I started a new API RESTFUL with CI4 and is awesome! But, I have a big problem with CORS in my Angular 9 app. I try this https://carminemilieni.it/2019/09/19/resolve-cors-and-corb-in-codeigniter-4/ but no success.

I tried to overwrite the construct method calling a CORS function (as I've maded with CI3) but the same problem. I really want to use the new CI4 but this project needs to show some results in the next week... If I have help and solve this...if no, I needs to step back to CI3

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions