Skip to content

Just idea: Publicize basic HTTP request method to the developers #258

@tokuhirom

Description

@tokuhirom

Go SDK's feature implementation is a bit delayed: https://github.com/line/line-bot-sdk-go/issues

If the SDK supports a generic HTTP request method like this, users can use all new features without waiting SDK's implementation:

import (
	"github.com/line/line-bot-sdk-go/linebot"
)

func main() {
	rawBody = ....;
	bot, err := linebot.New("<channel secret>", "<channel access token>")
	rawResponse = bot.Post("/path/to/new/api", rawBody)
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions