Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
govorovvs authored Dec 13, 2020
1 parent b3e4ef7 commit f2dde24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ using (var client = new HttpClient())
var formatter = new MessagePackMediaTypeFormatter();
var request = new SearchProductRequest { Name = 'iphone', OrderBy = 'id' };
var content = new ObjectContent<SearchProductRequest>(request, formatter);
var response = await client.PostAsync("http://localhost/api/products:search");
var response = await client.PostAsync("http://localhost/api/products:search", content);
var products = await response.Content.ReadAsAsync<Product[]>(new[] {formatter});
}
```
Expand Down Expand Up @@ -101,4 +101,4 @@ Make sure you have installed all of the following prerequisites on your developm

# Maintainers

[[email protected]](mailto:[email protected])
[[email protected]](mailto:[email protected])

0 comments on commit f2dde24

Please sign in to comment.