[go-nuts] Re: http server unable to authorize other CA authorities on windows

2020-09-29 Thread smartaq...@gmail.com
77/how-to-provide-ca-certs-for-listenandservetls-function/49354072> On Monday, 28 September 2020 at 19:30:40 UTC+5:30 smartaq...@gmail.com wrote: > Team, > > Hi all, hope you're doing well. > > I have hosted a small api on windows 10 machine which I'm using as a > webh

[go-nuts] http server unable to authorize other CA authorities on windows

2020-09-28 Thread smartaq...@gmail.com
Team, Hi all, hope you're doing well. I have hosted a small api on windows 10 machine which I'm using as a webhook receiver. The CA authority of webhook sender is different from the CA authority of the golang api. Code of API is:- ---

Re: [go-nuts] Re: Go API receive calls twice when hit through browser

2020-09-27 Thread smartaq...@gmail.com
mage: >> p7hpq] >> >> On September 25, 2020 at 17:34 GMT, gaurav wrote: >> >> >> First request must be OPTION and second must be GET/ POST , This is >> default browser behaviour. >> >> On Friday, 25 September 2020 at 15:22:27 UTC+5:30 smartaq...@g

Re: [go-nuts] Re: Go API receive calls twice when hit through browser

2020-09-27 Thread smartaq...@gmail.com
ember 25, 2020 at 17:34 GMT, gaurav wrote: > > > First request must be OPTION and second must be GET/ POST , This is > default browser behaviour. > > On Friday, 25 September 2020 at 15:22:27 UTC+5:30 smartaq...@gmail.com > wrote: > >> Team, >> >> Hi all,

[go-nuts] Go API receive calls twice when hit through browser

2020-09-25 Thread smartaq...@gmail.com
Team, Hi all, hope you are doing good. I've made a hosted a small api on my windows 10 enterprise machine: ``` func main() { srv := &http.Server{Addr: ":8000", Handler: http.HandlerFunc(handle)} log.Fatal(srv.ListenAndServeTLS("certificate.crt", "certificate.key")) } func handle(w http.R

[go-nuts] Go API receive calls twice when hit through browser

2020-09-25 Thread smartaq...@gmail.com
Team, Hi all, hope you are doing good. I've made a small poc api on my windows 10 enterprise machine ``` func main() { srv := &http.Server{Addr: ":8000", Handler: http.HandlerFunc(handle)} log.Fatal(srv.ListenAndServeTLS("certificate.crt", "certificate.key")) } func handle(w http.Respons