Assignment 7
Assignment 7
Objective
To understand the types of data that can be accessed in a mobile app, the concept and
importance of APIs, and the role of Postman in testing APIs. Additionally, implement a
Flutter app with a symptoms list and disease details using the provided API and a bottom
navigation bar.
Assignment Tasks
Research and describe the types of data that can be accessed and used in a mobile
app, such as:
1. What is an API?
o Discuss how APIs enable apps to retrieve and send data to servers.
2. What is Postman?
Sending a request.
json
Copy code
"symptoms": [1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
Predicted disease.
1. Test the API thoroughly in Postman before integrating it into the app.
2. Use proper state management for handling user input and API responses.
Submission Requirements