-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot find documentation how to generate key and secret for target rubykube #65
Comments
barong api key |
Hello @top1st, please see in Barong docs: https://github.com/rubykube/barong/blob/master/docs/rest_api.md#post-7 |
after using correct API key and secret it shows : 401 unauthourized |
goto phpmyadmin, see your private key at |
somebody has this error? @response_body={"errors"=>["authz.nonce_expired"]}> Arke use this code to generate nonce nonce = Time.now.to_i.to_s but when this endpoint is called /api/v2/peatio/market/orders @request_headers={"X-Auth-Apikey"=>"8859aef9589ed875", "X-Auth-Nonce"=>"1600958230", "X-Auth-Signature"=>"f5c1698ec5b7720032b3648ba280f0bbc35e18160bb55acfd2aee9f57785f5e5", "Content-Type"=>"application/json"} @ssl=#<Faraday::SSLOptions verify=true> @response=#<Faraday::Response:0x000055bffae65b30 ...> @response_headers={"Content-Length"=>"34", "Content-Type"=>"text/plain", "Date"=>"Thu, 24 Sep 2020 14:37:10 GMT", "Server"=>"envoy", "Connection"=>"close"} @status=401 @reason_phrase="Unauthorized" @response_body={"errors"=>["authz.nonce_expired"]}>> I generate key and secret key using baseapp's profile page with no problem, Key and SecretKey are correct Thanks |
this repository is too old now. You need to customized code directly based on the endpoints version. |
Yep I know :(, I had to change nonce calculation. |
Don't need to create jwt token for peatio api?
where i can create api key and secret for target?
The text was updated successfully, but these errors were encountered: