Building Microservices API in Go - Assignment 1: Fix GetAllCustomers API

Building Microservices API in Go - Assignment 1: Fix GetAllCustomers API

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Hard

Created by

Quizizz Content

FREE Resource

The video tutorial outlines an assignment to fix the 'Get All Customers' API. The task requires returning only JSON responses, with status code 500 for errors and 200 for success. Students are encouraged to apply error handling techniques learned in the 'Get Customer API' lesson. A follow-up session will provide the solution.

Read more

5 questions

Show all answers

1.

OPEN ENDED QUESTION

3 mins • 1 pt

What is the expected response format for the API after the changes?

Evaluate responses using AI:

OFF

2.

OPEN ENDED QUESTION

3 mins • 1 pt

What status code should be returned in case of an error?

Evaluate responses using AI:

OFF

3.

OPEN ENDED QUESTION

3 mins • 1 pt

What should the API return upon a successful request?

Evaluate responses using AI:

OFF

4.

OPEN ENDED QUESTION

3 mins • 1 pt

What approach should be followed for error handling in this assignment?

Evaluate responses using AI:

OFF

5.

OPEN ENDED QUESTION

3 mins • 1 pt

What is the main task to be completed in this assignment?

Evaluate responses using AI:

OFF