[go-nuts] Re: HTTP method before the endpoint

2024-06-03 Thread rogerjd
If it helps someone else, : The problem was it was using go version 1.20 Needed to change go.mod to use go 1.22.3 On Monday, June 3, 2024 at 1:20:20 PM UTC-4 rogerjd wrote: > Your code works both in the playground and on my local machine. > I need to figure what I did wrong originally. > Thank y

[go-nuts] Re: HTTP method before the endpoint

2024-06-03 Thread rogerjd
Your code works both in the playground and on my local machine. I need to figure what I did wrong originally. Thank you for helping, Roger On Monday, June 3, 2024 at 3:26:22 AM UTC-4 p...@morth.org wrote: > Hi, > > It works on the playground at least, https://go.dev/play/p/YZbgmezjSIV > Are you s

[go-nuts] Re: HTTP method before the endpoint

2024-06-03 Thread p...@morth.org
Hi, It works on the playground at least, https://go.dev/play/p/YZbgmezjSIV Are you sure your server is listening on port 80? That's fairly uncommon for service code and usually requires extra permissions. If it's listening on another port, you'll have to specify that in the browser as well (see