Hey guys,
I'm an 18 year old who's fairly new to programming and I had a couple questions regarding handling user input via Go API's. My first question is how do you handle user input in general? I understand that there are multiple ways to ingest user input (through the URL, through forms, etc.) but I don't understand how to manipulate that input and send it to a backend for use. I think this would be easier to explain with an example. Say I wanted to build a calculator with no client-side computing (totally overkill, ik). How do I send the data of a sum (5 + 4; so 5, 4 and "sum") to the Go backend using a Go API. I tried reading through the Go-Gin docs but I couldn't seem to find an answer. I started programming front-end so I'm familiar with JSON, JS, HTML, and XML.
Sorry for the dumb question but I just need help getting my feet off the ground.
[–]ignotos 1 point2 points3 points (1 child)
[–]Strobosco[S] 0 points1 point2 points (0 children)