You have chosen to sponsor your bid up to a maximum amount of .
I'd like a fixed price for the following two-part job. Just ask if you need more details. I'd appreciate if you also specify your choice of method (language, dependencies, protocols).
A server-side script runnable on the Linux platform to perform these steps:
- Receive a request over a protocol that is widely supported in AJAX (JSON over HTTPS or your suggestion). The request consists of a function name and a variable-length list of parameters, all of them strings.
- Transform this request into a PostgreSQL database lookup, calling the function with a prefix added to the name and with the given arguments. (Just query "select * from prefix_functionname('arg1', 'arg2 ... 'argN');")
- Return the result in a way that the client can determine whether the query was successful, and if so read the content of the returned data. All returned fields will be strings. The script should not depend on column names.
I will expect the script to be secure, not allowing sql injections or security holes of any sort, or calling any database function with a name lacking the mentioned prefix. The script should of course also be reasonably efficient.
One more thing: Don't bother bidding over $80.