#Can service make an HTTP request to itself using a hostname?

1 messages · Page 1 of 1 (latest)

ocean dawn
#

Hi, I'm setting up integration tests which involves multiple services. I'm binding them using consistent host names which are also used in test data. One service sometimes needs to make HTTP request to itself (an IdP). What would be an idiomatic way of doing it in dagger? Thanks!

worldly dagger
ocean dawn
#

Not really. I added .withHostname() after .asService() and now it seems to be able to make HTTP requests to itself using that hostname

worldly dagger