IsraelOrtuno / pipedrive

Complete Pipedrive API client for PHP
MIT License
166 stars 58 forks source link

fix: client to use JSON body in request by default #128

Closed fgibaux closed 1 year ago

fgibaux commented 1 year ago

This changes the default body format to JSON for all requests.

Right now the default is application/x-www-form-urlencoded although some calls do use json.

Recommended by Pipedrive (cf here), and handles null values and types cf #127

Not sure of how much this is a breaking change.

IsraelOrtuno commented 1 year ago

I don't see a reason for breaking changes here, thanks for the PR.