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

How to use APIs with Python Forum

View Course » View Exercise

1958 points
512244957d637284a6003902_372798797
Submitted by
Guilherme Lunhani
almost 5 years ago

4.1 - Incorrect answer about HTTP request connections ?

# 1. HTTP is a protocol that connects clients and ______.

The course creator hint this:

The answer to question #1 is in section 1, exercise #2.

Well, the own lesson show this

                        ##########
                        # Server #
                        ##########
                  #     ##########     #
                #       ##########       #
              #                            #
            #        #       #       #       #
    #######         #        #        #        #######
    #Client        #         #         #       #Client
    #######       #          #          #      #######
               #######    #######    #######
               #Client    #Client    #Client
               #######    #######    #######

So, I believe that the response is answer1 = "server"
But the console give-me the weird response:

It looks like your answer to question #1 isn't correct. Check out the Hint if you need help!

"server"isn't the correct answer, or this is a bug?

Thanks for any help


7 votes

permalink

yes this is a bug - enter "servers" and you wil pass

848 points
Picture
Submitted by
Arman Vasilyan
almost 5 years ago

1 Comment

Cbb7be96afdaad10cc1e5c70be3b4d4f?s=140&d=retro 'AKIF BIN ARIF over 4 years ago

so,what is the answer for that question??


2 votes

permalink

I agree with Arman, I had the same problem. Because they used clients, plural, you should use servers plural too. Which isn't ideal but it isn't a bug per say. Strictly, you aren't always dealing with one server, potentially many many servers.

1591 points
50ed760364b327ef36002904_785717475
Submitted by
Yu 'Dilys' Sun
almost 5 years ago


2 votes

permalink

I entered "servers", "server", "Servers", "Server", "SERVERS", and "SERVER" before looking for answers. Needless to say, all generated the same, "It looks like your answer to question #1 isn't correct" response. However, when I tried making server into a symbol rather than a string (:server) it worked for me.

So, beyond the debate above, why would that be?

1101 points
527b4e8ef10c60c169001b33_242036243
Submitted by
Matthew Phillips
almost 3 years ago

1 Comment

54c8f75386f552e5da001b6c_992947113 Pawns42 almost 3 years ago

try refreshing your page and see if ?# 1 is correct and ?# 2,3 are wrong.


1 vote

permalink

Because they used clients, plural, you should use servers plural too. Which isn't ideal >but it isn't a bug per say.

well, this isn't a code bug, but a semantic and pedagogical problem;

Strictly, you aren't always dealing with one server, potentially many many servers.

As a student of the web, this concept isn't understood immediately to me;
As an educator, I think this concept of many servers needs to be pedagogically more clearly in question

1958 points
512244957d637284a6003902_372798797
Submitted by
Guilherme Lunhani
almost 5 years ago

1 Comment

512244957d637284a6003902_372798797 Guilherme Lunhani almost 5 years ago

or add an exercise to explain the use of many servers


1 vote

permalink

Servers not server (there could be more than 1)

683 points
51518d3e8f002e3e5c001e6c_516962940
Submitted by
Trikyas
over 4 years ago


1 vote

permalink

Still the same error comes to me,but it doesnt let mte go further.
what to do???

632 points
Picture
Submitted by
Dileep Singh
almost 4 years ago


1 vote

permalink

server, servers AHH?!? atleast would server also be correct?

2835 points
5221a0a780ff33cbb900052b_894281508
Submitted by
Ⓩⓐⓘⓓⓗⓐⓐⓝ
over 3 years ago


0 votes

permalink

is this one server or many servers story should relate to : 'same origin security policy' or 'cross origin resource sharing'?

323 points
342a94a52cec906a792fb48ee0e2149e?s=140&d=retro
Submitted by
alice
over 4 years ago


0 votes

permalink

I have also tried "server", "Server", "SERVERS","SERVER". I have #2 as PUT and #3 as 500. I am still getting the "Oops, try again. Did you provide an answer after the = sign for each of the three answers?" answer.
Any help would be appreciated.

30 points
Adef1a49fe41145355fc24aa7a7c9802?s=140&d=retro
Submitted by
elizabethdennis75
about 2 years ago


0 votes

permalink

WORKS

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

// 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";

1233 points
566354cc937676913a000061_638238020
Submitted by
DAGIROV Djamal
about 2 years ago