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

Support test posts to /fill-out-form #99

Closed
wioux opened this issue Jan 23, 2017 · 1 comment
Closed

Support test posts to /fill-out-form #99

wioux opened this issue Jan 23, 2017 · 1 comment

Comments

@wioux
Copy link
Member

wioux commented Jan 23, 2017

Based on a URL param like testmode=1? This would be useful to client applications that integrate with phantom-dc (for their staging environments, testing, development, etc.) so that you can fully exercise the form and integration without actually messaging congress.

In test mode the endpoint should fail if mandatory fields are omitted or the bio_id is invalid, but otherwise return {status: "success"} without actually running the form steps.

@j-ro
Copy link
Collaborator

j-ro commented Jan 23, 2017

We implement test mode on the app side, that's our solution for this. But feel free to add if you'd like!

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

No branches or pull requests

2 participants