java - How to make api call between two separate google cloud endpoint APIs -
i have 2 separate projects in google app engine account. both have been used deploy clound endpoint service apis. using 1 project web application when user press submit button, data being pushed using web client libraries post request endpoint service api.
i need push same data other project using api call only. want transfer data 1 api call in 1 project other api of other project.
to achieve till have created simple httpsurlconnection post request xyzendpoint.java of xyz.java returns error:
"errors": [ { "domain": "global", "reason": "backenderror", "message": "java.lang.classcastexception: com.google.apphosting.utils.security.urlfetch.urlfetchservicestreamhandler$connection cannot cast javax.net.ssl.httpsurlconnection" }
Comments
Post a Comment