Open
Description
I think it is better to add in the generated sample code a check (even if commented) for HTTP status code (just as a hint). example:
if resp.StatusCode != http.StatusOK {
// handle status code not 200
}
BTW, I spent long time not sure what is the error until I realized at the end that, the status code check is not there 😄
Metadata
Metadata
Assignees
Labels
No labels