Google endpoints returns 403 forbidden when accessing from javascript
<p>My deployed site cant reference endpoints from javascript. It works perfectly locally but remotely I get a 403 in the client:</p>

<p>GET <a href="http://myapp.appspot.com/_ah/api/discovery/v1/apis/agreement/v1/rpc?fields=methods%2F" rel="nofollow">http://myapp.appspot.com/_ah/api/discovery/v1/apis/agreement/v1/rpc?fields=methods%2F</a>*%2Fid&amp;pp=0 403 (Forbidden) rs=AItRSTOc4KBtnc5SIOEaPiMWPOclVYHqsA:153</p>

<p>All seems to have deployed successfully looking at the logs. I currently don't use any authentication. I am accessing endpoints from javascript. I believe I need to access endpoints using https. </p>

<p>Any idea how can I configure javascript client to access endpoints using https.</p>