fixes latest commit

main
Paul Schneider 9 years ago
parent 1dd057871c
commit cd589a69a6
1 changed files with 1 additions and 1 deletions

@ -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";

Loading…