IsraelOrtuno / pipedrive

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

Ensure Leads()->add() post as JSON #101

Closed simensen closed 3 years ago

simensen commented 3 years ago

In order to POST to the /leads endpoint to add a new lead, we need to send it as JSON. Unsure which other endpoints might have this issue, too? I tried to do it in a way that was flexible and consistent with how some of the other parts of the code is handled but happy to refactor to make it easier/better/more consistent.

kg-bot commented 3 years ago

@IsraelOrtuno is this going to be merged any time soon?

IsraelOrtuno commented 3 years ago

@kg-bot will check it today 👍

simensen commented 3 years ago

Thanks for the merge!

kg-bot commented 3 years ago

Thank you very much for this improvement