
Answer-first summary for fast verification
Answer: Use REST API calls to send images, parse JSON responses, and implement a retry mechanism for errors.
For web applications, REST API calls are more common and easier to implement. JSON responses are typically used with REST APIs and are easier to parse. Implementing a retry mechanism for errors ensures that transient issues do not disrupt the application's functionality.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You are tasked with consuming a published custom vision model in a web application to classify images of plants. Describe how you would integrate this model into the application, including the necessary API calls, handling of the response, and how you would manage potential errors or inconsistencies in the model's predictions.
A
Use REST API calls to send images, parse JSON responses, and implement a retry mechanism for errors.
B
Use SOAP API calls to send images, parse XML responses, and implement a fallback model for errors.
C
Use REST API calls to send images, parse XML responses, and implement a retry mechanism for errors.
D
Use SOAP API calls to send images, parse JSON responses, and implement a fallback model for errors.
No comments yet.