Skip to content

Instantly share code, notes, and snippets.

@nderkach
Last active September 22, 2019 16:12
Show Gist options
  • Save nderkach/b8f4fe57a7a09af7815cdeaf8d44adfe to your computer and use it in GitHub Desktop.
Save nderkach/b8f4fe57a7a09af7815cdeaf8d44adfe to your computer and use it in GitHub Desktop.
DevinantArt Private API (used by mobile app)
# get OAuth2 token
curl -H 'host:www.deviantart.com' -H 'User-Agent:DeviantArt/1.12 (iPhone; iOS 8.2; Scale/2.00)' -H 'Accept-Language:en;q=1' -H 'DA-SYNC-TOKEN:2fcf547f0e4ddcd8e8e45084b6dc0d2c' -H 'dA-minor-version:20160316' -H 'Accept:*/*' -H 'Content-Type:application/x-www-form-urlencoded' -H 'dA-session-id:b0618f6c2819e75b9d2b20b0e96c5802' -H 'Connection:keep-alive' -H 'Proxy-Connection:keep-alive' -H 'Content-Length:123' -H 'Accept-Encoding:gzip, deflate' -X POST 'https://www.deviantart.com/oauth2/token' --compressed --data-binary 'client_id=1701&client_secret=e6af3dc9712a1aad9efed05f16ceecf198aefcb5bab1531018e28034a3792e30&grant_type=client_credentials'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment