From 5164b09dab95c4bdf74b8c11bd6009ffeb56eff4 Mon Sep 17 00:00:00 2001 From: James Bush Date: Wed, 14 Oct 2020 18:34:13 -0400 Subject: [PATCH] Update post-data-with-the-javascript-xmlhttprequest-method.md (#39835) Uses common language to describe API data request. Improves clarity of instruction. --- .../post-data-with-the-javascript-xmlhttprequest-method.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curriculum/challenges/english/04-data-visualization/json-apis-and-ajax/post-data-with-the-javascript-xmlhttprequest-method.md b/curriculum/challenges/english/04-data-visualization/json-apis-and-ajax/post-data-with-the-javascript-xmlhttprequest-method.md index 69e5b32da5..544edc2fe1 100644 --- a/curriculum/challenges/english/04-data-visualization/json-apis-and-ajax/post-data-with-the-javascript-xmlhttprequest-method.md +++ b/curriculum/challenges/english/04-data-visualization/json-apis-and-ajax/post-data-with-the-javascript-xmlhttprequest-method.md @@ -32,7 +32,7 @@ Finally, the send method sends the request with the body -Update the code to create and send a "POST" request. Then enter your name in input box and click "Send Message". Your AJAX function will replace "Reply from Server will be here." with the reply of the server. In this case, it is your name appended with " loves cats". +Update the code so it makes a "POST" request to the API endpoint. Then type your name in the input field and click "Send Message". Your AJAX function should replace "Reply from Server will be here." with data from the server. Format the response to display your name appended with " loves cats". ## Tests