This API allow to obtain a list of from which country and to which country we can exchange currencies.
The REST api over HTTP protocol could be queried for:
- Get the source contries list
- Get the destination countries list
The output will be always in JSON format
- Get the source: /v1/countries?target=source
- Get the destination /v1/countries?target=destination
- Protocol: http
- Port: 8080
- Host Address: localhost
- Special http header: Accept application/json
curl -H "Accept: application/json" 'http://localhost:8080/v1/countries?target=source'
curl -H "Accept: application/json" 'http://localhost:8080/v1/countries?target=destination'
make install
make test
make run
- python 2.7
- pip
- gnu make