spring-cloud / spring-cloud-netflix

Integration with Netflix OSS components
http://cloud.spring.io/spring-cloud-netflix/
Apache License 2.0
4.87k stars 2.44k forks source link

How can I call a registred Service in Eureka Server from external API???? #1427

Closed LucasHCruz closed 8 years ago

LucasHCruz commented 8 years ago

I created an Eureka server and two Service Appications that are my Eureka Clients.

Okay, all is wired and working.

How can I call the Eureka Server from an external API to call my Service Applications??

I don't know how to do it... I think it's like:

http://myeurekaserver/my-service/test

The question could be:

How can I call my service from angularJS client, php, etc... passing through Eureka Server..

spencergibb commented 8 years ago

Eureka is not a proxy. See zuul https://github.com/spring-cloud/spring-cloud-netflix/blob/master/docs/src/main/asciidoc/spring-cloud-netflix.adoc#router-and-filter-zuul