fixes latest commit
This commit is contained in:
parent
46ec3d504a
commit
8abec56e8a
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ namespace Yavsc.Helpers
|
||||||
/// <param name="pathToMethod">Path to method.</param>
|
/// <param name="pathToMethod">Path to method.</param>
|
||||||
public SimpleJsonPostMethod (string pathToMethod, string authorizationHeader = null)
|
public SimpleJsonPostMethod (string pathToMethod, string authorizationHeader = null)
|
||||||
{
|
{
|
||||||
request = (HttpWebRequest) WebRequest.Create (BasePath + pathToMethod);
|
request = (HttpWebRequest) WebRequest.Create ($"{BasePath}/{pathToMethod}");
|
||||||
request.Method = "POST";
|
request.Method = "POST";
|
||||||
request.Accept = "application/json";
|
request.Accept = "application/json";
|
||||||
request.ContentType = "application/json";
|
request.ContentType = "application/json";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue