Created
January 17, 2019 11:49
-
-
Save codemodify/8dde2fd179054752310c1de49b5f42d2 to your computer and use it in GitHub Desktop.
qosmicparticles-io-samples.cs
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
var client = new RestClient("http://qosmicparticles.io:4444/FetchGobs"); | |
var request = new RestRequest(Method.POST); | |
request.AddHeader("Content-Type", "application/json"); | |
request.AddParameter("undefined", "{\n \"version\": \"2.0\",\n \"key\": \"rcd1JN+CkZo2+KKR802bXTujubMbiZARQcyTR8Ku8haqdyaz8pA8Z1kbrWJO2J2CiwFdnr\",\n \"gobSize\": 10\n}", ParameterType.RequestBody); | |
IRestResponse response = client.Execute(request); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment