The client has made the following changes to the job.
Client prefers freelancers from:
You are still able to submit a proposal for this job.
The client prefers freelancers from
a different location.
Create a PHP script that will receive a simple HTTP GET (or POST) request with parameters, check some parameters match DB table (login and customer/service name check) and save the details from the web request to another table, returning a simple OK or ERROR if operation was successful or not.
Request will be of the format
PHP script will look up the api key in a table that will identify and retrieve the customer id (if apik supplied exists), this is the 'login'.
Script will use the name and customer id parameters to look up the service table to retrieve the service data which also contains the service id and customer id (which should match the result from the first lookup).
If either of above two lookups fail then respond with ERROR in body of http response.
On success the following information is saved to a requests t...
Sign in or Register to see more