Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Define the syntax of the Connect Four Web service APIs and their JSON outputs (refer to the PHP project handout, proj1.txt, available from the course
Define the syntax of the Connect Four Web service APIs and their JSON outputs (refer to the PHP project handout, proj1.txt, available from the course website). The Web service provides three APIs: info, new, and play. For each service API, define the syntax of: - calling it, i.e., URL including its query string, e.g., http://www.cs.utep.edu/cheon/cs3360/project/c4/info - JSON outputs (normal and error/exceptional responses), e.g., {"width":7,"height":6,"strategies":["Smart","Random"]} Use the Java client (c4-web.jar) available from the course website and/or your favorite Web browser to learn about the APIs of the Web service and their sample outputs. Refer to the JSON website (www.json.org) for the BNF syntax of JSON.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started