I am following this tutorial on the golang website https://go.dev/doc/tutorial/web-service-gin

Upon getting to the point where it is adding an album, the call to BindJson is failing when i am making a call using the insomnia.rest client.

I am able to get it to deserialize to json when using the standard library json deserialization stuff (by googling) however as a newcomer to go it is strange this doesnt work.

Any help would be appreciated. Also if the issue is figure out could you please let me know.

Golang Version : 1.19 Gin Version: 1.8.1 (installed using go get) Operating System: Windows 11 Home 22H2

I have also reported this on the go-lang repo as it is through their website and tutorial I have found this bug here

Many thanks.