asmcos / requests

A golang HTTP client library. Salute to python requests.
Other
665 stars 90 forks source link

PostJosn: add default handle json data method #17

Closed rikewang closed 4 years ago

rikewang commented 4 years ago

The PostJson method need format Json string, it's not convenient. add default method could handle map, struct... etc which could be encoded to json type.