Created
October 15, 2019 19:52
-
-
Save dmennis/4d0fcee9cb198640871f4892a8ae86b9 to your computer and use it in GitHub Desktop.
cURL command for creating a new user with SingularKey
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// (POST) Create NEW User (createUser) - Appears to be indopotent | |
// Doc: https://devapi.singularkey.com/docs/index.html?http#createuser | |
curl -X POST \ | |
https://devapi.singularkey.com/v1/users/ \ | |
-H 'Accept: application/json' \ | |
-H 'Accept-Encoding: gzip, deflate' \ | |
-H 'Cache-Control: no-cache' \ | |
-H 'Connection: keep-alive' \ | |
-H 'Content-Length: 58' \ | |
-H 'Content-Type: application/json' \ | |
-H 'Host: devapi.singularkey.com' \ | |
-H 'User-Agent: PostmanRuntime/7.17.1' \ | |
-H 'cache-control: no-cache' \ | |
-H 'x-sk-api-key: <YOUR-SINGULARKEY-API-KEY-HERE>' \ | |
-d '{ | |
"username": "Dennis" | |
}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment