Andrea Andrea - 1 year ago 197
Android Question

google endpoint use Explorer with a local HTTP API

I want to see my API generated with Google Endpoint locally.

If I run the "Hello world" backend example generated by Android studio and I connect to

and I click on the third link, the browser opens the page where I can test my API.

There I have an error about connection on HTTPS:

The API you are exploring is hosted over HTTP, which can cause problems. Learn how to use Explorer with a local HTTP API.

If I click on "Learn how to..." I'm redirect to this page:

If the proposed solution proposed is right, my question is how to open Chrome with these special flags on Windows 10?

I also try to click on the shield in the navigation bar but with no result.

Answer Source

I found the right instructions!

Go to, for example:

C:\Program Files (x86)\Google\Chrome\Application

and execute:

chrome.exe --user-data-dir=test --unsafely-treat-insecure-origin-as-secure=http://localhost:8080

It will start a Chrome session in which you can test your API.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download