Hi S Lyden, thank you for your enquiry. No question is a silly question. :) I just cloned the repo myself, opened it on my IntelliJ and ran the RouteTest and all the tests passed. I didn’t change anything.

Can I ask you how you run the code? Just to make sure, did you run the WiremockdemoApplication.kt?

I also just started the application and made a POST request from my Postman to http://localhost:8080/api/current-weather and I could get a successful response. Again, I did not change anything.

One thing, did you set your OPENWEATHER_API_KEY environment variable?

Written by

A passionate Software Engineer trying to leave a good legacy on earth

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store