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

How to use APIs with JavaScript Forum

View Course

567 points
520d1a1dabf82102b7000faa_75462818
Submitted by
Jean-Pierre Barthelemy
over 3 years ago

REST Constraints & Requirements error

HTTP is a protocol that connects clients and ______.
Unless I'm mistaken the answer to this is 'server' but the system is giving me an error. Not sure if this is a bug or something. Please correct me if I'm wrong about this.


2 votes

permalink

Turns out the answer is "servers." I might have been tired last night when I tried this but its working today. I had the wrong answer for the third question and may have mistaken that for an error on question one.

567 points
520d1a1dabf82102b7000faa_75462818
Submitted by
Jean-Pierre Barthelemy
over 3 years ago

1 Comment

4f8325b818ff6d79f76795836c22bdd8?s=140&d=retro Ugyen Dhendup Dorji almost 3 years ago

// What data format is shown below? Set answer
// equal to 'XML' for XML and 'JSON' for JSON.

// {
// "Cartoon Foxes": {
// {
// "Name": "Fox Tall",
// "Job": "Bein' tall"
// },
// {
// "Name": "Fox Small",
// "Job": "Bein' small"
// }
// }
// }

var answer = "JSON";