Add curl example #2452

This commit is contained in:
Martin Lensment 2015-06-12 12:25:31 +03:00
parent 4020516e9c
commit 0aa8058022

View file

@ -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