-
-
Save Vrijdagonline/ab26ab0e67a521297e6387118addf96d to your computer and use it in GitHub Desktop.
Flurl example - post URL-encoded, receive JSON
This file contains hidden or 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 result = await "http://localhost:8080/lzp/servRoot" | |
.PostUrlEncodedAsync(new { | |
className = "com.lzp.service.UserInfoService", | |
methodName = "login", | |
user_name = "123", | |
user_pwd = "123" | |
}) | |
.ReceiveJson<TestResultModel>(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment