-
-
Save jcdickinson/4dd0125d7c5af9d4878f 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
HttpResponse<MyClass> jsonResponse = Unirest.Post("http://httpbin.org/post") | |
.Header("accept", "application/json") | |
.Field("parameter", "value") | |
.Field("foo", "bar") | |
.AsJson<MyClass>(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment