[Go] http request to self signed domain

จดไว้กันลืม บางทีก็มีความจำเป็นต้องเขียน Go ให้สร้าง HTTP request ไปยัง API service ที่มีการใช้ HTTPS แบบ Self signed certification

ถ้าจะเขียนแบบใช้ module HTTP client request

Thank you this solution from Matthias via How to do a https request with bad certificate




Follow the white rabbit…

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Cryowar and Bitspawn Protocol Form a Strategic Partnership

Tips and Best Practices for Developing with Artifactory on GCP

Introduction to server-side programming languages

8 tips to get better at coding

What types of testing can you perform on your e-commerce website?

Your Easy Guide on how to Install VMware vSphere Cluster with VMcom Backup and Recovery — Part 2…

Importance of Creating a Great Developer Experience

developer experience

Asking For Directions

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store


Follow the white rabbit…

More from Medium

Debugging AWS Lambda Functions in Go with VSCode

Unit Testing & Debugging Setup For Golang with VS Code

Using assert in go tests

Integration tests, Docker and how it all Go(es) together