BrandonRomano / wrecker

A golang request builder for JSON APIs
MIT License
24 stars 0 forks source link

Rename params #25

Closed benpate closed 9 years ago

benpate commented 9 years ago

This should do it.

One artifact of the way we're automatically handling Content-Types is that there's no use for the DefaultContentType. We only work with "application/x-www-form-urlencoded" and "application/json".

I've left the DefaultContentType variable alone for now, because it seems like we may use it again when we add a ContentType() function (from issue #15) or add additional encoders (like "application/xml" or multipart forms).

BrandonRomano commented 9 years ago

@benpate this is good! :+1: