Question: Create a simple API with the requirements mentioned below. All output will include endpoint name and time stamp. Use your assigned dataset. Requirement 1 :
Create a simple API with the requirements mentioned below. All output will include endpoint name and time stamp. Use your assigned dataset.
Requirement :
Defaultendpoint
Call the default endpoint to provide a welcome message
Input: Nothing
Output: Welcome message. Include your name in the welcome message
Requirement :
Your nameMathendpoint
Call the math endpoint to perform a combination of Addition, Subtraction, Multiplication, andor Divison
Input: Enter numbers into the endpoint
Output: Message of the math performed and result.
Requirement :
Your nameExactTextSearchendpoint
Call the text search endpoint to perform a text search using your project data set
Input: Enter the field and text to be searched
Output: Message will include the results of the search
Requirement :
Your nameContainsTextSearchendpoint
Call the text search endpoint to perform a text search using your project data set
Input: Enter the field and text to be searched
Output: Message will include the results of the search
Requirement :
Your nameNumberSearchendpoint
Call the number search endpoint to perform a number search using your project data set
Input: Enter the field and number to be searched
Output: Message will include the results of the search
Requirement :
Your nameGreaterThanendpoint or LessThan NumberSearchendpoint you select which type of search
Call the number search endpoint to perform a number search using your project data set
Input: Enter the field and number to be searched
Output: Message will include the results of the search
Requirement :
Your nameExitendpoint
Call the exit endpoint to provide goodbye message
Input: Enter a name
Output: Goodbye message with name
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
