From 962e4fe6b356b59185c9b527271c4ad70ebcfe7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Tue, 21 May 2019 11:07:01 +0200 Subject: [PATCH] Add CURL example --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 5370f69..adc23a6 100644 --- a/README.md +++ b/README.md @@ -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. +# 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) **IMPORTANT**: Use [pipenv](https://pipenv.readthedocs.io/en/latest/)