🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: First API Call: all 10 questions

Quiz: First API Call · Question 1 of 10

Where should your API key live?

Where should your API key live?

  1. A.In the JavaScript of your website
  2. B.Hard-coded in the Python file
  3. C.In an environment variable on your server
  4. D.In a public GitHub repo's README
Answer & explanation

Correct answer: In an environment variable on your server

Anyone can read client-side code and public repos.

Can you get the rest right without peeking?

Take the timed Quiz: First API Call quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →