Skip to content

Instantly share code, notes, and snippets.

View iman4000's full-sized avatar
🐬

Iman Ilbag iman4000

🐬
View GitHub Profile
@iman4000
iman4000 / list&one.txt
Last active June 25, 2024 16:38
python code for DependencyTrack interaction to manage teams and projects
### DT with list
import requests
API_BASE_URL = "http://your-api-url/api"
API_KEY = "your-api-key"
def get_headers():
return {
'X-Api-Key': API_KEY,
'Content-Type': 'application/json'