...

/

Quiz: Talking to REST API

Quiz: Talking to REST API

Test your knowledge about REST APIs.

We'll cover the following...
Technical Quiz
1.

What does the following piece of code do?

s := &http.Server{
	ReadTimeout: 10 * time.Second,
	WriteTimeout: 10 * time.Second,
}
A.

It instantiates a new standard HTTP server.

B.

It instantiates a new standard HTTP client.

C.

It instantiates a new HTTP server with custom timeouts.

D.

It instantiates a new HTTP server that doesn’t work because it’s missing the binding address.


1 / 5