Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

curl to python

import requests

headers = {
    'PRIVATE-TOKEN': '<your_access_token>',
}

response = requests.get('https://gitlab.example.com/api/v4/projects/:id/access_requests', headers=headers)
Source by curlconverter.com #
 
PREVIOUS NEXT
Tagged: #curl #python
ADD COMMENT
Topic
Name
2+1 =