Authorization

  1. Assert that a GET request to "/api/level20" returns a 401 status code.
  2. Assert that a GET request to "/api/level20" with a "X-Api-Key" header with a value of "mysupercoolapikey", returns:
    Approved!
  3. Assert that a GET request to "/api/level20" with an "Authorization" header of "Basic Q3VyaW91c0dlb3JnZTp5ZWxsb3doYXQ=, returns:
    Welcome Mr. George.
🔑