Skip to content
New issue

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

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

Already on GitHub? # to your account

Come up with a pattern for handling POST parameters #21

Open
markandrus opened this issue Feb 17, 2015 · 0 comments
Open

Come up with a pattern for handling POST parameters #21

markandrus opened this issue Feb 17, 2015 · 0 comments

Comments

@markandrus
Copy link
Owner

When you POST to a Twilio resource, sometimes your POST a subset of the parameters on the resource itself, and sometimes you POST parameters not present on the resource itself. A few questions:

  • Should we represent this as a separate data type?
  • Should we use a type family from GET resources to POST data types so that we can write a general POST function?

Records in Haskell make this more annoying than it should be.

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

No branches or pull requests

1 participant