package
1.9.3
Repository: https://github.com/alvarios/kushuh-go-utils.git
Documentation: pkg.go.dev

# README

Kushuh go http utils

Post

Send a post request from go, in application/json format.

// payload is a map[string]interface{}
res, err := httpUtils.Post(url, payload)

PostForm

Send a post request from go, with a form content.

files := []httpUtils.File{
    {
        Path: '/path/to/my/file',
        Key: 'file'
    }
}

// payload is a map[string]interface{}
res, err := httpUtils.PostForm(url, payload, files)

Copyright

2020 Kushuh - MIT license