diff --git a/Consul/Agent.cs b/Consul/Agent.cs
index 3d3b5a1eb797..03f2655b7f7a 100644
--- a/Consul/Agent.cs
+++ b/Consul/Agent.cs
@@ -18,6 +18,7 @@
using System;
using System.Collections.Generic;
+using System.Web;
using Newtonsoft.Json;
namespace Consul
@@ -450,8 +451,10 @@ public void FailTTL(string checkID, string note)
/// An empty write result
public WriteResult