Please describe the changes this PR makes and why it should be merged:
This will allow developers to provide bodies with different Content-Type's to the API
The main issue occurring was the need to use Content-Type: application/x-www-form-urlencoded when requesting /oauth2/token. This will be fixing #90
This also allows for the ability to give custom FormData instances rather than being stuck to attachments, which isn't as useful but just less restricting.
Status and versioning classification:
Code changes have been tested against the Discord API, or there are no code changes
I know how to update typings and have done so, or typings don't need updating
This PR changes the library's interface (methods or parameters added)
Please describe the changes this PR makes and why it should be merged:
This will allow developers to provide bodies with different
Content-Type
's to the APIThe main issue occurring was the need to use
Content-Type: application/x-www-form-urlencoded
when requesting/oauth2/token
. This will be fixing #90This also allows for the ability to give custom
FormData
instances rather than being stuck toattachments
, which isn't as useful but just less restricting.Status and versioning classification: