Skip to content

Commit

Permalink
add more questions to rest-api topic (#1536)
Browse files Browse the repository at this point in the history
  • Loading branch information
meghatiku committed May 12, 2021
1 parent f53e012 commit fbaade6
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions rest-api/rest-api-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -296,3 +296,31 @@
- [ ] `JSON payloads`
- [ ] `HTTP response codes`
- [x] `rate limiting/throttling`

#### Q49. API testing must be treated as ______?

- [ ] `red team testing`
- [ ] `white box testing`
- [ ] `blue box testing`
- [x] `black box testing`

#### Q50. Which HTTP verb is used in a CORS preflight request?

- [ ] `PUT`
- [ ] `POST`
- [ ] `GET`
- [x] `OPTIONS`

#### Q51. Which response header will tell the client that the response is cached for 1 minute ?

- [ ] `Expires: 1 minute`
- [x] `Cache-Control: max-age=60`
- [ ] `Expires: 1 January 2020`
- [ ] `Cache-Expires: max-age=60`

#### Q52. What is the concept that allows an API client to explore an API via links embedded in payloads?

- [ ] `hypermedia`
- [x] `link relations`
- [ ] `parsing`
- [ ] `browsing`

0 comments on commit fbaade6

Please sign in to comment.