This forum is now read-only. Please use our new forums at discuss.codecademy.com.

How to use APIs with JavaScript Forum

View Course » View Exercise

237 points
Picture
Submitted by
Simon Jeppesen
over 4 years ago

What am i supposed to answer?

// 1. HTTP is a protocol that connects clients and ______.
var answer1 = "Server";

// 2. The four HTTP methods are GET, POST, ___, and DELETE.
var answer2 = "PUT";

// 3. A ___ error means the server goofed up. (200, 300, 400, or 500)
var answer3 ="500"; 

13 votes

permalink

answer1 = "Servers";

435 points
51346360606ce1fe88005e67_865315638
Submitted by
Wouter Roozeleer
over 4 years ago

5 Comments

Picture Simon Jeppesen over 4 years ago

Thanks a lot!

820c7399382ab7afc331e756b6e679f3?s=140&d=retro Brady over 4 years ago

Man..how did I not think of that....late night coding :(

28cc709900015312cb8f61de00746aa3?s=140&d=retro ild almost 4 years ago

Oh wow. I feel like choking someone now >:/

14e0a20ef90d2c0eeefe2f7a5a0a8dbf?s=140&d=retro CodeBuster1624 over 3 years ago

THAT'S CREEPY ILD

Picture Edward Poon about 3 years ago

This is stupid. Why would they have 6 underscores if they wanted a word with 7 letters?


1 vote

permalink

add s to "Server"

664 points
Ec582d7d1ed0319e20999f46459957a0?s=140&d=retro
Submitted by
Milad
over 3 years ago


0 votes

permalink

I have the same question.

1198 points
820c7399382ab7afc331e756b6e679f3?s=140&d=retro
Submitted by
Brady
over 4 years ago

1 Comment

Ec582d7d1ed0319e20999f46459957a0?s=140&d=retro Milad over 3 years ago

add s to "Server"


0 votes

permalink

Adding just server makes the sentence grammatically incorrect.
HTTP is a protocol that connects clients and server.
HTTP is a protocol that connects clients and servers

346 points
53985b968c1cccd3f6002077_456873061
Submitted by
Gabi Kuiper
over 3 years ago