Day 29: AJAX…not just for scrubbing soap scum!

Today we learned about AJAX calls. Hilarity ensued this afternoon as we all had to create an application shell (some of us may have forgotten to engage GitHub first and had to start over again with the folder in a GitHub repository folder). We fired code for the web server—up to this point, we’ve been relying on the “Live Server” from Visual Studio Code. We’re using something called a REST API. I know it sounds like a high-end day spa, but it stands for “representational state transfer technology for an application program interface that uses HTTP requests to GET, PUT, POST, and DELETE data.

There were a few fits and starts as some people inadvertently killed their web server.

We also used Postman to test out our connection to get data, post data, etc. I know. I can’t get the song out of my head now, either…

EAR WORM!!!

Mr. Postman

I’m happy to report that, as of 9:10 p.m., I got my new entries to post to the JSON file! Now I just need to figure out how to PUT for the update file. Watch—that will probably be tomorrow’s project!

Author: WildKnitter

By day I work for a large insurance company. By night and the rest of my life, I share my life with a spouse, a bossy cat, four step-children, and many, many grandchildren. Also, of course, my mad passion is my knitting and crocheting. My latest adventure is something called Coding Bootcamp!

One thought on “Day 29: AJAX…not just for scrubbing soap scum!”

  1. Mr. Postman look 👀 and see. There’s light at the end of the tunnel for me. ❤️❤️❤️

Comments are closed.