0

I have created two codeigniter project subdomains. In domain A I have kept only the controller and view part. In domain B I have kept only the controller and model part. I am using controller of domain A to send api calls to controller of domain B using cURL, then using the data sent from domain B to load in the view of domain A. I have used codeigniter-restserver library by phil sturgeon and used basic authentication for the api authentication. I am using IIS to host the services. All the Get and Post request are working proper in this architecture. But when I enabled ssl in both the domains the api stopped working. I tried changing the authentication type but it doesn't work with https. I am not able to find the problem.

1 Answer 1

0

After 12 hours of searching for the problem, I found the answer in this post >> Make https request with curl

Previously I was creating a curl http request which worked without ssl.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.