Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calling of external APIs issue - enforcing SSL or automatically changing to https #307

Open
mightypeng opened this issue Jun 12, 2021 · 1 comment

Comments

@mightypeng
Copy link

mightypeng commented Jun 12, 2021

Good day everyone!
I hope you and your family are all safe during this time of pandemic.

I just have a quick question and hopefully someone can answer me as soon as possible, as I've been troubleshooting it for almost a week now.

I've clone this project and tried to play along and explore the functionalities and features, especially that I am new in terms of frontend development (vueJS as an example). When I am trying to call an external or outside APIs that I've created in my local (which have not SSL; therefore http) - it shows "https" in the Developer Tools, thus returning an error.

I have already scan through the codes of this repository, I even tried going inside the docker container/image of the laravue and tried to "curl" the external API I am trying to use and it can call it successfully. However, if using the browser for the Laravue, it suddenly enforce all the "http" APIs I am using to "https:

Do you know which particular code, settings or configuration inside this repository that I need to change (set it to false, etc.) ? Thank you in advance.

  1. My setup in my local is that I have docker containers up and running for this laravue project
  2. I have also docker containers up and running for the external APIs I want to use
  3. I am using "axios" in this Laravue project to call the external APIs
@tuandm
Copy link
Owner

tuandm commented Jun 13, 2021

@mightypeng Thanks for reaching out this project, can you please add more details such as:

  • Which external domains you use?
  • Screenshots will be helpful for us to understand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants