Example #1
0
        public override void Initialize(string config)
        {
            base.Initialize(config);
            HttpConfig.InitializeReceiveVstsWebHooks();

            _postRequest = new HttpRequestMessage(HttpMethod.Post, TestAddress);
            _postRequest.SetRequestContext(RequestContext);
            _postRequest.Content = CreateRequestContent("Microsoft.AspNet.WebHooks.Messages.message.posted.json");
        }