PATCH Method not supported as entrance to UrlExpression builder
ecarlson94 opened this issue · 0 comments
ecarlson94 commented
The following cannot be used:
return run(_ =>
{
_.Patch.Url("/querystring2?test=value&foo=bar");
_.Patch.Json(new {});
});
The following must instead be used:
return run(_ =>
{
_.Configure = context => context.HttpMethod("PATCH");
var urlExpression = (IUrlExpression)_
_.urlExpression.Url("/querystring2?test=value&foo=bar");
_.urlExpression.Json(new {});
});