This ejercicio was requested by CTeleport
REST service to measure distance in miles between two airports. Airports are identified by 3-letter IATA code.
By design (in sake of demo purposes) this code produces executable with self-hosted API
Thus to get distance between two airports
- Build
- Run exe
- Make HTTP GET call to API
For example to measure distance between AMS and VLC airports it should be:
GET http://localhost:62803/between/AMS&VLC HTTP/1.1
.net core
c#
asp.net core
web api
minimal api
external api
exe
self-hosted
xunit
...