[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

SYN CITY’S Official NFT IGO on Binance NFT

Intrusion Detection in AWS, Azure and GCE Environments.

Manual Liquidity Mining Rewards (LMR) For Days Before Zilswap Integration — RedChillies (REDC)

{UPDATE} English Time Hack Free Resources Generator

What Legal Mechanisms Can A Company Explore When Dealing With Cybercrimes?

7 Tips to Ensure Mobile Application Security

DAO Tools — AlgoVote

Millennials opinions on security, tracking and personalisation | Arekibo Blog

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
Priesdelly

Priesdelly

Follow the white rabbit…

More from Medium

Concurrency in Golang

Testing in Golang(Part 1)— Unit Tests

Unit Test in Golang

How to Work With SQL in Go