A4.3 API to Remove a Place

On your own, write an API named remove_place.php that accepts a query string of name value pair arguments for campus and place, then deletes the (campus, place) from the CAMPUS_PLACES table. (Do not delete the place from the PLACE_CUISINES table.) Return a JSON object containing the error code and accompanying message. Use the same parameter names. This video shows a solution for a previous version of this assignment that may help.

 

Make sure you test your API.