11 ms·
I'm having trouble figuring out what this actually does from the web page, although it sounds intriguing. Although if other HN users aren't having that trouble
by jrochkind1 13y ago
I'm having trouble figuring out what this actually does from the web page, although it sounds intriguing.
Although if other HN users aren't having that trouble, maybe it's me, not you.
Do you essentially use this as a proxy, where your apps contact it, and it contacts the apis, so it can keep stats on your api use? That's what the three phrases on the home page sort of imply.
But then when I watch the video... it all goes by so fast, but it's giving me the idea that I had it wrong, and it's doing something else (CORS? What would CORS have to do with what I thought it was doing?)
Is it too much to ask for a couple sentences/paragraphs explaining what it does, instead of just a couple words and a video?
- levirosol 13y agoReading the docs, I understand it to be a proxy for your APIs. You setup a service for api.somedomain.com, and then you change that URL in your app to be someprefix.apitools.com. 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.
- Lambdanaut 13y agoThis 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.
- _mikz 13y agoWe are planning on-premise version which should work for all API calls - https://news.ycombinator.com/item?id=7517338 https://news.ycombinator.com/item?id=7517338
- _mikz 13y agoYou 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.
- jrochkind1 13y agoHuh, 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.
- _mikz 13y agoIt 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.
- mbesto 13y agoIsn't this effectively what Mashape does? http://mashape.com/ http://mashape.com/
- njyx 13y agoNo - Mashape is a marketplace to signup for APIs. You can call APIs through the mashape but you don't get the middleware control layer or detailed alerts/analytics.
- _mikz 13y agoWe had other landing page prepared. If you refresh now, you should see it.
- jrochkind1 13y agoThanks, that is more clear, to me anyway! Although, for the technical audience (and isn't a technical audience the only audience for this product?), actually using the word 'proxy' somewhere might help make it even more clear. Although I could be wrong, maybe I'm not representative, but it would make it clearer for me anyway.
- _mikz 13y agoAgree. Will try to do that. Thanks!