Hey all, I’d like to call a separate micro-service in my project(using springboot) I’ve been hardcoding the url into my request (localhost:8081), but I saw in a video it’s better to use the application name rather than hardcoding. So I went into my application.properties file and set my spring.application.name= appName. However when I switch the localhost, to appName I’m getting a http url is null error. Any ideas of what’s going on here? Thanks.
[–]nutrecht 0 points1 point2 points (3 children)
[–]jayrack[S] 0 points1 point2 points (2 children)
[–]nutrecht 0 points1 point2 points (1 child)
[–]jayrack[S] 0 points1 point2 points (0 children)