Created
April 18, 2024 12:25
-
-
Save cw6365/68e8802f14ff4673232190b84efbdaa8 to your computer and use it in GitHub Desktop.
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
curl -X 'POST' \ | |
'https://sandbox.e-sign.co.uk/v3/oauth/applications' \ | |
-H 'accept: application/json' \ | |
-H 'Authorization: Token token="3-s1gn2kSh4r3p01nt!"' \ | |
-H 'Content-Type: application/json' \ | |
-d '{ | |
"oauth_app": { | |
"name": "Sharepoint user1", | |
"redirect_uri": "https://test.com", | |
"scopes": ["read_write"] | |
} | |
}' | |
RETURNS | |
{ | |
"oauth_app": { | |
"id": "0c52a929-74a0-4b94-b7dc-72d3304e1a27", | |
"name": "Sharepoint user1", | |
"redirect_uri": "https://test.com", | |
"client_id": "1naoDaGQKr7Oi0r3rhRpNGMntCjjNTwRI-mC93RdoTg", | |
"client_secret": "9c-UfoV4YUEZfme6UIQwTx99ir_NR4vOXlth3rEQJpM", | |
"scopes": [ | |
"read_write" | |
] | |
}, | |
"links": [] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment