DEV Community

Discussion on: Connecting front and backend?

Collapse
 
deciduously profile image
Ben Lovy

You'll still worry about GET and POST on the frontend - what you won't worry about is how those are implemented. You want to be able to post the right data to the right endpoint and then just assume the server's state gets updated properly. Then when you next make a GET, the data returned will reflect any changes youve made, but your frontend code doesn't need to know how or why or what, just what endpoints to hit.

Thread Thread
 
vickilanger profile image
Vicki Langer

Okay. I think I get it now. Thanks!