Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
xljiulang authored Jan 7, 2018
1 parent 2358a1b commit b54746f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public interface MyWebApi : IDisposable
```
static async Task TestAsync()
{
var myWebApi = HttpApiClient.Create<UserApi>();
var myWebApi = HttpApiClient.Create<MyWebApi>();
var user = new UserInfo { Account = "laojiu", Password = "123456" };
var user1 = await myWebApi.GetUserByAccountAsync("laojiu");
var user2 = await myWebApi.UpdateUserWithFormAsync(user);
Expand Down

0 comments on commit b54746f

Please sign in to comment.