RocketChat / Rocket.Chat.Go.SDK

Go SDK for REST API and Realtime api
MIT License
60 stars 58 forks source link

rest: fix login method #14

Closed yukithm closed 5 years ago

yukithm commented 5 years ago

Fixed incorrect post data format.

Before: application/json + form-urlencoded-data After: application/x-www-form-urlencoded + form-urlencoded-data

CLAassistant commented 5 years ago

CLA assistant check
All committers have signed the CLA.

geekgonecrazy commented 5 years ago

Thanks for the contribution!

@graywolf336 you're a bit more familiar with the rest api. Can you take a quick look?

tonypnode commented 5 years ago

I can also confirm this change enabled me login and post a message.