fixes latest commit

This commit is contained in:
Paul Schneider 2016-10-18 15:51:12 +02:00
commit 8abec56e8a

View file

@ -42,7 +42,7 @@ namespace Yavsc.Helpers
/// <param name="pathToMethod">Path to method.</param>
public SimpleJsonPostMethod (string pathToMethod, string authorizationHeader = null)
{
request = (HttpWebRequest) WebRequest.Create (BasePath + pathToMethod);
request = (HttpWebRequest) WebRequest.Create ($"{BasePath}/{pathToMethod}");
request.Method = "POST";
request.Accept = "application/json";
request.ContentType = "application/json";