using System; using System.Collections.Generic; using Elsa.Activities.Http.Models; using Elsa.Expressions; using Elsa.Models; namespace Elsa.Activities.Http.Activities { public class HttpRequestAction : Activity { /// /// The URL to invoke. /// public Uri Url { get; set; } /// /// The HTTP method to use. /// public string Method { get; set; } /// /// The body to send along with the request. /// public WorkflowExpression Body { get; set; } /// /// The headers to send along with the request. /// public IDictionary RequestHeaders { get; set; } /// /// A list of HTTP status codes this activity cam handle. /// public ICollection SupportedStatusCodes { get; set; } } }