Add CURL example

pull/12/head
Raphaël Vinot 2019-05-21 11:07:01 +02:00 committed by GitHub
parent aa0d4581a8
commit 962e4fe6b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -33,6 +33,12 @@ BGP Ranking service is available online [http://bgpranking.circl.lu/](http://bgp
A Python library and client software is [available](https://github.com/D4-project/BGP-Ranking/tree/master/client) using the default API available from bgpranking.circl.lu. A Python library and client software is [available](https://github.com/D4-project/BGP-Ranking/tree/master/client) using the default API available from bgpranking.circl.lu.
# CURL Example
```bash
curl -X POST -d '{"asn": "5577"}' https://bgpranking-ng.circl.lu/json/asn
```
# Server Installation (if you want to run your own) # Server Installation (if you want to run your own)
**IMPORTANT**: Use [pipenv](https://pipenv.readthedocs.io/en/latest/) **IMPORTANT**: Use [pipenv](https://pipenv.readthedocs.io/en/latest/)