-
Notifications
You must be signed in to change notification settings - Fork 496
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
Write up instructions for "HTTP request field day" exercise based on existing notes #616
Comments
Will this be it’s own topic outline, @judytuna? Want me to make this issue volunteer-ready? |
I would like to work on this issue @alodahl , after my PR gets merged. |
Hi,
I'm not actively contributing at this time, if there's something specific
someone would like me to contribute to, please let me know via email and
not assigning github issues.
…On Wed, Apr 10, 2019 at 6:29 PM Alina L. ***@***.***> wrote:
Assigned #616 <#616> to
@antislice <https://github.com/antislice>.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#616 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABkwIGPdqYUpMf5NiVO-mYsPozJvE16bks5vfo_1gaJpZM4baDr7>
.
--
Women Who Code San Francisco <http://womenwhocode.com/sf> Network Mentor
|
I have a doubt before making a PR , do I need to make a table comparision of the HTTP request or write just the code for the 6 different methods mentioned above? |
@pydevsg, write the directions for working on the different methods above. A table to replace the image would be awesome! Have you ever made one with markdown? |
@alodahl I will write down the directions for different methods, make the table and come up with a PR, thanks for the guidance. |
Hi @pydevsg , how are you doing on this one? Are you facing any difficulty? Please ask any mentor if you have any doubt. |
@saberprashant , I will come up with the PR very soon. Thanks for the helping hands, if I face any issues I will surely tell you. |
@pydevsg are you still able to complete this issue? |
Yes,I am in the midst trying to wrap it up as early as possible. |
Yes, I will due to semester exam I am unable to provide a PR, the content is ready. |
Hi Sudipto, is this something you would be willing to finish soon? |
Yes, I will surely complete this very soon. |
That's fine! When would you expect to be done? |
It would be expected by next 2 days, sorry for the delay. |
Hi @pydevsg , how is the HTTP exercise coming? |
Hi @pydevsg , should I make this issue available to another volunteer? I haven't heard from you in a while. |
Extremely sorry for the delay Mam, I gave taken the issue and will solve it . |
Hi @pydevsg , should I put this back in todo? |
@alodahl I'm happy to work on this. Just making sure from the long comment thread that no one else is working on this or has WIP work? |
Thanks @vegetabill please do! Someone picked this up in the summer but never made a PR. |
@alodahl sorry one more question. What separates this from api/apis-and-json.md or ajax/ajax.md? In there are the basics and fetch is covered. Is this additional background practice? Is it worked on before or after that one? I'm mainly asking because this lesson appears under the API folder but I was trying to see if the apprentice knows HTTP basics at this point or I should link in more background. Note to self: see if b0rk would offer edu discounted copies of her zines. They are so awesome. |
Sorry for the delay, Bill. Yes, it is supposed to be an additional practice outline after Ajax and API s. The intention is to show the variety of ways apprentices might see requests in the wild and compare different syntaxes that do the exact same thing. |
Done & Done & I mean Done |
Write a topic outline here based on the following notes:
Do the same two requests over and over again six different ways! Why? Compare and contrast: how are they different? How are they similar?
curl
syntax. what do we learn about Postman? it's probably a GUI for curl!curl
on the command line, in their terminalXMLHttpRequest
in raw javascript in a javascript console in a browserlocalhost:3000/events
in your browser and open a javascript console there. boom, same origin! =Dnpm install --save node-fetch
in the client project they're about to work onApprentices will look up the syntax (so this is also an exercise in searching for resources and separating signal from noise), with some hints, like "we told you this is an NPM module. where should the very first place you look for it be? answer: docs on npm, which will link to its github repo. example: https://www.npmjs.com/package/node-fetch and https://github.com/bitinn/node-fetch "
More discussion questions:
A few "Additional Resources" that compare ways to make requests:
http.request
), andhttp
(the Node standard library): https://flaviocopes.com/node-http-post/http.request
, Request, Unirest, superagent, node-fetch, axios,http
usingstringbuilder
, and more. Somehow convey that here's an example of "there are a million ways to do it," so it might take you some time and research to figure out the best way to do something for the current situation, and that's normal.http.request
resourcesFor FAQs on how to contribute, see: https://github.com/Techtonica/curriculum#volunteering
The text was updated successfully, but these errors were encountered: