Skip to content

Commit

Permalink
fix issue irufus#55 missing User-Agent header in API calls
Browse files Browse the repository at this point in the history
  • Loading branch information
onyxcoyote committed Dec 16, 2018
1 parent 5e31eca commit c38c068
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ public HttpEntity<String> securityHeaders(String endpoint, String method, String

headers.add("accept", "application/json");
headers.add("content-type", "application/json");
headers.add("User-Agent", "gdax-java unofficial coinbase pro api library");
headers.add("CB-ACCESS-KEY", publicKey);
headers.add("CB-ACCESS-SIGN", signature.generate(resource, method, jsonBody, timestamp));
headers.add("CB-ACCESS-TIMESTAMP", timestamp);
Expand Down

0 comments on commit c38c068

Please sign in to comment.