Southern New Hampshire University Creating a RESTful Design Pattern Web Project
Question Description
Prompt: After reviewing the module resources, complete the following tasks in Codio:
1. Create a basic web service using the RESTful design pattern to implement the following URIs:a. http://localhost/hello?name=worldThe above URI should return the following JSON-format text:{ hello: world }b. HTTP POST the JSON data: {string1:hello, string2:world} to http://localhost/stringsThe above URI should return the following JSON-format text:{ first: hello, second: world }Provide a text file (either .java or .py) of your code and screenshots of execution as evidence. You will use the curl utility at the Codio command line toexecute the URI. See the examples below.
2. Using the RESTful web service you created in Step 1, add URI paths to the RESTful service for each of your CRUD functions completed in Milestone One.Your URI paths should be able to handle the following curl client interactions:”Add the following document to the collection:”curl -H “Content-Type: application/json” -X POST -d ‘{“id” : “10011-2017-TEST”,”certificate_number” : 9278833,”business_name” : ACME TESTINC.”,”date” : “Feb 20 2017″,”result” : “No Violation Issued”,”sector” : “Test Retail Dealer – 101”}’ http://localhost:8080/create”Return the document found with the given business_name”curl http://localhost:8080/read?business_name=”ACME TEST INC.””Update the result value for the document with the given id string”curl http://localhost:8080/update?id=”10011-2017-TEST”&result=”Violation Issued””Delete the document with the given id string”curl http://localhost:8080/delete?id=”10011-2017-TEST”Provide a text file (either .java or .py) of your code.
I already have the code written but I am receiving an error message within Codio.
Have a similar assignment? "Place an order for your assignment and have exceptional work written by our team of experts, guaranteeing you A results."