static Response Something(NancyContext Context) { var fakeCurve = new LineCurve(Point3d.Origin, new Point3d(0, 1, 0)); var receivedCurve = JsonConvert.DeserializeObject <Curve>(Context.Request.Body.AsString()); var offsetCurve = fakeCurve.Offset(Plane.WorldXY, 5, 0.1, CurveOffsetCornerStyle.None)[0]; return(JsonConvert.SerializeObject(offsetCurve)); }