client-nodejs
client-nodejs copied to clipboard
Prefer POST requests using json instead of x-www-form-urlencoded
the official Pipedrive openapi file uses mixed content-type
for different POST or PUT endpoints:
-
application/x-www-form-urlencoded
: 46 places -
application/json
: 152 places.
On the other hand, Pipedrive also recommends using json
for all requests (link)
The use of x-www-form-urlencoded
on the SDK caused this issue
As I understand, this SDK is generated from the openApi file, so a simple solution would be to update the openApi file first and then update the SDK
Sorry for the long response. We have taken this issue to our backlog.