-
Notifications
You must be signed in to change notification settings - Fork 156
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
Curl Request format should be updated #19
Comments
Should they reflect the |
Or in the readme could we just link to the scripts? So for POST /sign-up, we currently have: Request:
To get code out of readme and keep consistent with scripts, we could have: Request: Run with |
I think I suggested that at one point to @jrhorn424 and I believe he objected. |
@gaand @danman01 Since we're moving toward inlining code with magic comments, I'll formally remove my objection. I no longer have a strong preference. My objection was principled in that documentation examples are not the same thing as scripts. For example:
I also realize that a talk intended to teach is different than documentation, but would also point out that one of the skills we want them to develop is reading documentation. Perhaps re-coding toward a well-factored script should be done starting with a copypasta script from the README on a tutorial branch. |
These requests in the readme should be written the same way as rails-api-template's curl requests so that we are consistent: https://github.com/ga-wdi-boston/rails-api-template
new:
old:
The text was updated successfully, but these errors were encountered: