Created
January 20, 2021 03:31
-
-
Save schappim/e8b09e1a0734ad2302734dac2cf70b9d 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
require 'rest-client' | |
require 'json' | |
result = RestClient.post 'https://api.replicastudios.com/auth', | |
"client_id=00000000-0000-0000-0000-000000000001&secret=mySecretPassword", | |
:content_type => 'application/x-www-form-urlencoded' | |
p JSON.parse(result) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment