Site icon Jessitron

Things that are hard: trivial POST request from the browser

I’m trying to make a trivial web app. Why is this so hard?

Glitch is an amazing site for making this, but its “simple node app” example does not POST anything back to the server.

I finally got this working. Here’s the result — it might be useful to you to remix it.

https://send-json-post.glitch.me

Things I figured out:

Then getting anything to update in the front end, that was hard too. I’m definitely going to bring in a front end framework before I try to do anything further.

Exit mobile version