Closed brycejech closed 4 years ago
Awesome @brycejech 👍 . I liked the way you've handled passing explicit headers to the client object.
Ref : #40
Thanks @abisalehalliprasan, I didn't want to make any assumptions about content types that the API may accept in the future.
🚀 PR was released in v2.0.0 hacktoberfest
Added support for POST, PUT, DELETE, etc as well as body content and HTTP headers. Changes make no assumptions about the type of headers and body content passed in, up to the user to send correct headers and format body appropriately.
Example: