Quiz: Talking to REST API
Test your knowledge about REST APIs.
We'll cover the following...
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.
Question 1 of 50 attempted
Access this course and 1400+ top-rated courses and projects.