diff --git a/README.md b/README.md index 85884775..9d9915bf 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,22 @@ # Ocelot Attempt at a .NET Api Gateway + +This project is aimed at people using .NET running +a micro services / service orientated architecture +that need a unified point of entry into their system. + +In particular I want easy integration with +IdentityServer reference and bearer tokens. + +We have been unable to find this in my current workplace +without having to write our own Javascript middlewares +to handle the IdentityServer reference tokens. We would +rather use the IdentityServer code that already exists +to do this. + +Priorities + +- Route configuration +- IdentityServer reference & bearer tokens +- Output Caching \ No newline at end of file diff --git a/src/Ocelot.Library/Middleware/ProxyMiddleware.cs b/src/Ocelot.Library/Middleware/ProxyMiddleware.cs index 1dd90dc6..b155dc15 100644 --- a/src/Ocelot.Library/Middleware/ProxyMiddleware.cs +++ b/src/Ocelot.Library/Middleware/ProxyMiddleware.cs @@ -41,7 +41,6 @@ namespace Ocelot.Library.Middleware var downstreamUrl = _urlReplacer.ReplaceTemplateVariable(downstreamRoute.Data); - //make a http request to this endpoint...maybe bring in a library using (var httpClient = new HttpClient()) { var httpMethod = new HttpMethod(context.Request.Method);