Pārlūkot izejas kodu

Update 'README.md'

Kristofer Younger 8 gadus atpakaļ
vecāks
revīzija
0ddf51d2ab
1 mainītis faili ar 10 papildinājumiem un 11 dzēšanām
  1. 10
    11
      README.md

+ 10
- 11
README.md Parādīt failu

@@ -1,11 +1,8 @@
1 1
 # ZCW-CurlLab
2
-
3
-use curl and Postman
4
-
5
-be sure to download the Postman app: https://www.getpostman.com/
2
+Step through each section.
6 3
 
7 4
 When you see below a question:
8
-#### What is your name:
5
+#### Q: What is your name?
9 6
 Add your answer to Comments.md file. Run the commands, each one and 
10 7
 determine the answer to add.
11 8
 
@@ -24,7 +21,7 @@ curl https://curl.haxx.se
24 21
 curl https://curl.haxx.se >> results.txt
25 22
 ```
26 23
 
27
-#### Which HTTP command (verb) is being used by the last two `curl` commands?
24
+#### Q: Which HTTP command (verb) is being used by the last two `curl` commands?
28 25
 
29 26
 ### Two
30 27
 ```
@@ -37,7 +34,7 @@ open a350.jpg
37 34
 ```
38 35
 
39 36
 Add to Comments.md the answer to this question: 
40
-#### -o seems to do what?
37
+#### Q: -o seems to do what?
41 38
 
42 39
 ### Three
43 40
 
@@ -45,16 +42,16 @@ curl -I http://google.com
45 42
 curl -I http://google.com >> results.txt
46 43
 curl -I http://zipcodewilmington.com
47 44
 
48
-#### -I shows what?
49
-#### And how is that -I different from a simple GET (what does it show)?
45
+#### Q: -I shows what?
46
+#### Q: And how is that -I different from a simple GET (what does it show)?
50 47
 
51 48
 ### Four
52 49
 
53 50
 curl -I -L http://zipcodewilmington.com
54 51
 curl -I -L http://zipcodewilmington.com >> results.txt
55 52
 
56
-#### How many actual HTTP responses are there in that result?
57
-#### The first one's result code is a 301 and second's result code is a WHAT?
53
+#### Q: How many actual HTTP responses are there in that result?
54
+#### Q: The first one's result code is a 301 and second's result code is a WHAT?
58 55
 
59 56
 (This was how a REDIRECT works, first you see a 301 and then get redirected to the actual site.)
60 57
 
@@ -62,6 +59,8 @@ curl -I -L http://zipcodewilmington.com >> results.txt
62 59
 
63 60
 and now do:
64 61
 
62
+Save your answers in Comments.md and:
63
+
65 64
 ```
66 65
 wc results.txt
67 66
 wc results.txt >> results.txt