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.
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.