Difference between revisions of "Curl --header"

From wikieduonline
Jump to navigation Jump to search
Line 4: Line 4:
 
  curl --header "PRIVATE-TOKEN: <your_access_token>" https://gitlab.example.com/api/v4/notification_settings
 
  curl --header "PRIVATE-TOKEN: <your_access_token>" https://gitlab.example.com/api/v4/notification_settings
  
  curl -H
+
  [[curl -H]]
  
 
  [[curl -H]] "Content-Type: [[application/json]]"  [[--request]] [[POST]] [[--data]] '{"email":"[email protected]","password":"YourPassword"}' https://api2.timedoctor.com/api/1.0/login
 
  [[curl -H]] "Content-Type: [[application/json]]"  [[--request]] [[POST]] [[--data]] '{"email":"[email protected]","password":"YourPassword"}' https://api2.timedoctor.com/api/1.0/login

Revision as of 06:54, 12 July 2022

curl --header 'X-JFrog-Art-Api: 1234567890'
curl --header "PRIVATE-TOKEN: <your_access_token>" https://gitlab.example.com/api/v4/notification_settings
curl -H
curl -H "Content-Type: application/json"  --request POST --data '{"email":"[email protected]","password":"YourPassword"}' https://api2.timedoctor.com/api/1.0/login
curl \
 -H "Authorization: Bearer "$(gcloud auth application-default print-access-token) \
 -H "Content-Type: application/json; charset=utf-8" \
 https://analyticsadmin.googleapis.com/v1alpha/accounts

See also

Advertising: