Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions datamint/api/base_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,8 @@ def _generate_curl_command(self,
for key, value in headers.items():
if key.lower() == 'apikey':
value = '<YOUR-API-KEY>' # Mask API key for security
elif key.lower() == 'authorization':
value = 'Bearer <YOUR-API-KEY>' # Mask API key for security
curl_command.extend(['-H', f"'{key}: {value}'"])

# Add query parameters
Expand Down
Loading