Google chrome 通过本地HTTP使用Google云端点API

Google chrome 通过本地HTTP使用Google云端点API,google-chrome,google-cloud-endpoints,google-cloud-platform,endpoints-proto-datastore,Google Chrome,Google Cloud Endpoints,Google Cloud Platform,Endpoints Proto Datastore,我正在使用OSX。我已经在开发服务器中设置了端点。当我访问localhost:8080/_-ah/api/explorer时,我收到以下错误消息: 您正在探索的API托管在HTTP上,这可能导致 问题。学习 该链接指示我使用以下特殊标志启动Chrome会话: 我不知道在哪里输入这一行?我认为应该将其输入CLI,因此我在终端上进行了尝试: $ /Applications/GoogleChrome.app --user-data-dir=test --unsafely-treat-insecure-

我正在使用OSX。我已经在开发服务器中设置了端点。当我访问
localhost:8080/_-ah/api/explorer
时,我收到以下错误消息:

您正在探索的API托管在HTTP上,这可能导致 问题。学习

该链接指示我使用以下特殊标志启动Chrome会话:

我不知道在哪里输入这一行?我认为应该将其输入CLI,因此我在终端上进行了尝试:

$ /Applications/GoogleChrome.app --user-data-dir=test --unsafely-treat-insecure-origin-as-secure=http://localhost:8080
当然,答案是:

$ -bash: GoogleChrome.app: command not found
经过一些研究,我发现我可以使用
$google Chrome
命令启动Chrome会话,但在
-bash:google Chrome:command not found
的情况下也失败了


我还尝试使用
$where is google Chrome
定位Chrome,但没有返回响应

试试这个:
open/Applications/Google\Chrome.app--args--user data dir=test--unsafely将不安全的源代码视为安全的=http://localhost:8080

$ -bash: GoogleChrome.app: command not found