Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

What & Why?

Should not directly


Get user input, update communicate
list of posts etc. (avoid page reloads)

<form> POST /posts


getUserInput()
UserInput {title: '…', content: …}
</form>

storeOnServer() GET /posts


<ul>
List of Posts
fetchPosts() </ul>

Web Page (Rendered


<Your Script> Backend Server (API)
HTML)

”Behind the Scenes” Communication API = Application


Programming Interface

You might also like