Re:Show HN: API Happiness is not a 'nice-to-have'
by Lambdanaut on Wednesday April 02, 2014 @12:55PM
(#7516944)
This is the understanding I got as well.
Another concern of mine is that now you're running all calls to an API through yet another service, increasing latency on potentially frequently-called methods.
It's certainly not for all API calls.
Re:Show HN: API Happiness is not a 'nice-to-have'
by _mikz on Wednesday April 02, 2014 @02:04PM
(#7517626)
We are planning on-premise version which should work for all API calls - https://news.ycombinator.com/item?id=7517338
Re:Show HN: API Happiness is not a 'nice-to-have'
by _mikz on Wednesday April 02, 2014 @01:26PM
(#7517227)
You can write Lua middleware to do the Auth if you want.
The traffic monitor website is protected by us, but the actual proxy is not authenticated as it could interfere with API you are using.
Re:Show HN: API Happiness is not a 'nice-to-have'
by jrochkind1 on Wednesday April 02, 2014 @01:44PM
(#7517434)
Huh, so using this service will turn any authenticated API into an open api, usable by anyone that knows the URL?
That seems... unsuitable for most non-public apis.
Re:Show HN: API Happiness is not a 'nice-to-have'
by _mikz on Wednesday April 02, 2014 @02:03PM
(#7517616)
It is a proxy, so if you don't explicitly add keys with a middleware the API will still need the auth.
But you can do key mapping: if you pass your key it will transform it to the real one and if not, then it will just return 403.
Being a developer who heavily utilizes internal and external APIs, I like the idea of a tool like this, however, I'm really hesitant to run all calls through a single 3rd party. Especially one this green.
The next question I have is, what about auth? It seems like it could get really messy / insecure using something like this.
Seems like a great project to open source and to run on your own hardware.