Skip to content

Please add method for https support #2

@syrohei

Description

@syrohei

This code supported http only. please add https method

func Call(method string, params interface{}) (*JSON2Response, error) {
	j := NewJSON2RequestBlank()
	j.Method = method
	j.Params = params
	j.ID = 1

	postGet := "POST"

	address := fmt.Sprintf("http://%s/", server)

	data, err := j.JSONString()
	if err != nil {
		return nil, err
	}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions