pgsql/JSON relay - repost
This project received 4 bids from talented freelancers with an average bid price of $124 USD.Get free quotes for a project like this
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.
Looking to make some money?
- Set your budget and the timeframe
- Outline your proposal
- Get paid for your work
Hire Freelancers who also bid on this project
Looking for work?
Work on projects like this and make money from home!Sign Up Now
- The New York Times
- Wall Street Journal
- Times Online