Web Service Store

n this project you will create a web service that is a store front.
This is a web service, so the output will be transferred in JSON. It
will not be a human-readable web page, and it will be graded
programmatically.

As usual, these files will be turned in at
cs34.cs.sjsu.edu/YOUR_USERNAME/public_html/LISTED_FILENAMES

1. p10_Search.php?s=XXXXXX

  This endpoint will search for a product using the s parameter in the
URL. You should search the id, Name, and Description fields. It will
return an array of objects.

[{"id":id, "Name":Name, "Price":Price}, {"id":id, "Name":Name,
"Price":Price}, ....]

For example

[{"id":123, "Name":"Motherboard", "Price":129.99}, {"id":345,
"Name":"Graphics Card", "Price":199.99}, ...]

2. p10_Details.php?id=XXXXX

  This endpoint will return the full details for an object including,
id, Name, Price, Description, and PAYPAL BUY NOW BUTTON.

{"id":id, "Name":Name, "Price":Price, "Description":Description,
"Paypal":Paypal Code}

For example:

{"id":123, "Name":"Motherboard", "Price":129.99, "Description":"The
greatest motherboard!", "Paypal":"HTML FOR PAYPAL BUTTON"}