From 0aa80580224c54478718353d94432e2894e9ca36 Mon Sep 17 00:00:00 2001 From: Martin Lensment Date: Fri, 12 Jun 2015 12:25:31 +0300 Subject: [PATCH] Add curl example #2452 --- doc/repp-doc.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/repp-doc.md b/doc/repp-doc.md index 29d919d4f..8dc7d223d 100644 --- a/doc/repp-doc.md +++ b/doc/repp-doc.md @@ -3,6 +3,10 @@ REPP uses currently Basic Authentication (http://tools.ietf.org/html/rfc2617#section-2) with ssl certificate and key. Credentials and certificate are issued by EIS (in an exchange for desired API username, CSR (where CN must match username) and IP). +To quickly test the API, use curl: + + curl -q -k --cert user.crt.pem --key user.key.pem https://TBA/repp/v1/accounts/balance -u username:password + Test API endpoint: TBA Production API endpoint: TBA