Fixes order checkout (#53)
This commit is contained in:
parent
4818f68902
commit
c3444287ec
@ -51,7 +51,9 @@ namespace eShopOnContainers.Core.Services.RequestProvider
|
||||
AddHeaderParameter(httpClient, header);
|
||||
}
|
||||
|
||||
HttpResponseMessage response = await httpClient.GetAsync(uri);
|
||||
var content = new StringContent(JsonConvert.SerializeObject(data));
|
||||
content.Headers.ContentType = new MediaTypeHeaderValue("application/json");
|
||||
HttpResponseMessage response = await httpClient.PostAsync(uri, content);
|
||||
|
||||
await HandleResponse(response);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user