1) Select all the components of a REST request a) An endpoint in the form of a URL. b) A method(s) which can be GET, POST, PUT and DELETE c) A header containing the request’s metadata. d) A body of the request. For a PUT request this will include details how the server should update a resource e) All the above 2) What HTTP status code indicates a success response a) 200s b) 300s c) 400s d) 500s e) 100s 3) What HTTP status code indicates a client error a) 200s b) 300s c) 400s d) 500s e) 100s 4) What HTTP status code indicates a server error a) 200s b) 300s c) 400s d) 500s e) 100s 5) What HTTP status code is an informational response a) 200s b) 300s c) 400s d) 500s e) 100s 6) What HTTP status code indicates a client error that the correct authentication credentials were not provided a) 401 b) 403 c) 404 d) 500 e) 503 7) What HTTP status code indicates a client error that the server did not allow the request. a) 401 b) 403 c) 404 d) 500 e) 503 8) What HTTP status code indicates an internal server error. a) 401 b) 403 c) 404 d) 500 e) 503 9) What HTTP status code indicates that the server is temporarily unavailable a) 401 b) 403 c) 404 d) 500 e) 503 10) What HTTP status code indicates a client error, 'Not Found'. The resource is unavailable or could not be accessed. a) 401 b) 403 c) 404 d) 500 e) 503

REST/http Requests and HTTP status codes

autor:

Tabela rankingowa

Motyw

Opcje

Zmień szablon

Przywrócić automatycznie zapisane ćwiczenie: ?