Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jan 12, 2021

Conversation

simensen
Copy link
Contributor

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
Copy link

kg-bot commented Jan 11, 2021

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

@IsraelOrtuno
Copy link
Owner

@kg-bot will check it today 👍

@IsraelOrtuno IsraelOrtuno merged commit 6fd959a into IsraelOrtuno:master Jan 12, 2021
@simensen simensen deleted the leads-add-posted-as-json branch January 12, 2021 14:58
@simensen
Copy link
Contributor Author

Thanks for the merge!

@kg-bot
Copy link

kg-bot commented Jan 12, 2021

Thank you very much for this improvement

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants