drone/go-scm

what is idea about creating the Request with header of `"Content-Type": "application/x-www-form-urlencoded"`?

soulseen opened this issue · 1 comments

why must use header of "Content-Type": "application/json" in here,
if I want to create the Request with header of "Content-Type": "application/x-www-form-urlencoded", like this , what should I do?

the purpose of this plugin is to abstract away provider-specific implementation details. If you care deeply about using provider-specific implementation details such as hook content types you may consider using go-github which is going to expose more github functionality than this library.