Skip to content

Commit 4cf8933

Browse files
committed
added request response route example
1 parent fdabcc1 commit 4cf8933

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

JavaScript Outlines/ApiAjaxJSon.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,14 @@
123123

124124
/*
125125
How does the API request/response cycle work?
126-
/////////////////////////////////////////////
126+
/////////////////////////////////////////////'
127+
==SHORT ANSWER==
127128
• An API request/response cycle begins with the developer sending a request to an API for information.
128129
• The API will forward the request to the application and if the request is allowed and send data back to the developer.
129130
131+
==EXAMPLE==
132+
[DEVELOPER] ===(request)==> [API] ===(request approved)==> [APP APPROVES] ===(data returned) ==> [DEVELOPER]
133+
130134
*/
131135

132136

0 commit comments

Comments
 (0)