Skip to content

Instantly share code, notes, and snippets.

@codemodify
Created January 17, 2019 11:49
Show Gist options
  • Save codemodify/8dde2fd179054752310c1de49b5f42d2 to your computer and use it in GitHub Desktop.
Save codemodify/8dde2fd179054752310c1de49b5f42d2 to your computer and use it in GitHub Desktop.
qosmicparticles-io-samples.cs
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