This article is great intro.


  • is localhost.

  • Can go to Network tab to see details about requests and why they failed if they did fail. Can view headers etc

  • Web browsers will try to connect over port 80 by default.

  • [Best way to poll REST API? Timer seems fine. If the data is really changing frequently a WebSocket seems more appropriate.

    If it’s changing infrequently but you wanna know right away, a silent push notification is the β€œright” way but that requires some infrastructure](