Skip to content

Commit c5baca5

Browse files
committed
requests improvement
1 parent 32b2810 commit c5baca5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cryptapi/utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ def process_request(coin, endpoint='create', params=None):
2626
coin=coin.replace('_', '/'),
2727
endpoint=endpoint,
2828
),
29-
params=params
29+
params=params,
30+
headers={'Host': 'cryptapi.io'},
3031
)
3132

3233
return response

0 commit comments

Comments
 (0)