2114
Frontend vs backend
(lemmy.ml)
Post funny things about programming here! (Or just rant about your favourite programming language.)
A proper backend developer would have the query be a URL using the GET method with a parameter that the user can fill-in directly in the address bar and the result be a text/plain page with just a bunch of numbers separated by pipe characters (or an application/json page with that info encoded as JSON if you wanna be fancy).
This has the added advantage of working both for humans and as an API for use in machine to machine communications via HTTP.