gorequest icon indicating copy to clipboard operation
gorequest copied to clipboard

No method specified

Open JosephShering opened this issue 6 years ago • 1 comments

Looks like s.Method is blank when performing a client.Get(url).End() so this error gets thrown.

JosephShering avatar Oct 11 '17 16:10 JosephShering

I also occurred this situation when many goroutine using a same gorequest client (gorequest.New()). I think it is not "thread safe" (eg, go routine safe).

You should init gorequest client for each goroutine.

sfwn avatar Jun 18 '18 07:06 sfwn