What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-08-27 14:29:01
the api key provided is linked to datacenter 'us5\"
request.post({ url: 'https://usXX.api.mailchimp.com/3.0/lists/xxxxxxx/members', headers: { 'Content-Type': 'application/json', 'Authorization': 'Basic xxxxxxxxxxxxxxxxxxxxxxxxx-usXX' }, form: JSON.stringify({ email_address: req.body.em... Add solution -
Shell/Bash 2021-08-27 09:26:02
create a repo using github api
#On your Github account: go to Settings -> Developer Settings -> Personal Access Token Under OAuth Apps. #Now, Generate a New Access token with Required privileges enabled. Ignore This if you already have one. #Replace ACCESS_TOKEN with Token and ... Add solution -
Shell/Bash 2021-08-26 10:48:02
create github repo without browser
winpty curl -H 'Authorization: token [GENERATED_TOKEN]' https://api.github.com/user/repos -d '{"name":"[REPO_NAME_YOU_WANT]"}' # follow steps here to generate token: https://help.github.com/en/github/authenticating-to-github/creating-... Add solution
Best helpers
Ranking is empty