@@ -8,36 +8,36 @@ exports[`del1 1`] = `
88exports [` fileBody 1` ] = `
99"curl https://jsonplaceholder.typicode.com/posts \\
1010 -X POST \\
11- -H " Content-Type: application/json" \\
11+ -H ' Content-Type: application/json' \\
1212 --data-binary @data.json"
1313` ;
1414
1515exports [` formBody1 1` ] = `
1616"curl https://jsonplaceholder.typicode.com/posts \\
1717 -X POST \\
18- -H " Content-Type: application/x-www-form-urlencoded" \\
18+ -H ' Content-Type: application/x-www-form-urlencoded' \\
1919 -F name=foo"
2020` ;
2121
2222exports [` formBody2 1` ] = `
2323"curl https://jsonplaceholder.typicode.com/posts \\
2424 -X POST \\
25- -H " Content-Type: multipart/form-data" \\
25+ -H ' Content-Type: multipart/form-data' \\
2626 -F file1=@data.json"
2727` ;
2828
2929exports [` formBody3 1` ] = `
3030"curl https://jsonplaceholder.typicode.com/posts \\
3131 -X POST \\
32- -H " Content-Type: application/x-www-form-urlencoded" \\
32+ -H ' Content-Type: application/x-www-form-urlencoded' \\
3333 -F file1=string data"
3434` ;
3535
3636exports [` formBody4 1` ] = `
3737"curl https://jsonplaceholder.typicode.com/posts \\
3838 -X POST \\
39- -H " Content-Type: application/x-www-form-urlencoded" \\
40- -d " key1=value+1" "
39+ -H ' Content-Type: application/x-www-form-urlencoded' \\
40+ -d ' key1=value+1' "
4141` ;
4242
4343exports [` get1 1` ] = ` "curl https://jsonplaceholder.typicode.com/posts/101 \\ "` ;
@@ -50,20 +50,20 @@ exports[`get2 1`] = `
5050exports [` getEscapeHeaders 1` ] = `
5151"curl https://jsonplaceholder.typicode.com/todos/1 \\
5252 -X GET \\
53- -H " key: a \\ "strange\\ " value" "
53+ -H ' key: a "strange" value' "
5454` ;
5555
5656exports [` getWithHeaders 1` ] = `
5757"curl https://jsonplaceholder.typicode.com/todos/1 \\
5858 -X GET \\
59- -H " Content-Type: application/json" "
59+ -H ' Content-Type: application/json' "
6060` ;
6161
6262exports [` jsonBody 1` ] = `
6363"curl https://jsonplaceholder.typicode.com/posts \\
6464 -X POST \\
65- -H " Content-Type: application/json" \\
66- -d " { \\ " name\\ " :\\ " foo\\ " } " "
65+ -H ' Content-Type: application/json' \\
66+ -d ' { " name" : " foo" } ' "
6767` ;
6868
6969exports [` opt1 1` ] = `
@@ -81,41 +81,41 @@ exports[`opt2 1`] = `
8181exports [` patch1 1` ] = `
8282"curl https://jsonplaceholder.typicode.com/posts/1 \\
8383 -X PATCH \\
84- -H " Content-type: application/json; charset=UTF-8" \\
85- -d " { \\ " title\\ " :\\ " foo patched\\ " } " "
84+ -H ' Content-type: application/json; charset=UTF-8' \\
85+ -d ' { " title" : " foo patched" } ' "
8686` ;
8787
8888exports [` post1 1` ] = `
8989"curl https://jsonplaceholder.typicode.com/posts \\
9090 -X POST \\
91- -H " Content-type: application/json; charset=UTF-8" \\
92- -d " { \\ " id\\ " :\\ " 123-456-789\\ " ,\\ " key1\\ " :\\ " value 1\\ " ,\\ " key2\\ " :\\ " a \\\\\\ " complex \\\\\\ " value\\ " } " "
91+ -H ' Content-type: application/json; charset=UTF-8' \\
92+ -d ' { " id" : " 123-456-789" , " key1" : " value 1" , " key2" : " a \\\\ " complex \\\\" value" } ' "
9393` ;
9494
9595exports [` put1 1` ] = `
9696"curl https://jsonplaceholder.typicode.com/posts/1 \\
9797 -X PUT \\
98- -H " Content-type: application/json; charset=UTF-8" \\
99- -d " { \\ " id\\ " :1 ,\\ " title\\ " :\\ " foo\\ " ,\\ " body\\ " :\\ " barzzz\\ " ,\\ " userId\\ " :1 } " "
98+ -H ' Content-type: application/json; charset=UTF-8' \\
99+ -d ' { " id" :1 ," title" : " foo" , " body" : " barzzz" , " userId" :1 } ' "
100100` ;
101101
102102exports [` rawBody1 1` ] = `
103103"curl https://jsonplaceholder.typicode.com/posts \\
104104 -X POST \\
105- -H " Content-Type: text/plain" \\
106- -d " string data" "
105+ -H ' Content-Type: text/plain' \\
106+ -d ' string data' "
107107` ;
108108
109109exports [` rawBody2 1` ] = `
110110"curl https://jsonplaceholder.typicode.com/posts \\
111111 -X POST \\
112- -H " Content-Type: text/plain" \\
113- -d " string data" "
112+ -H ' Content-Type: text/plain' \\
113+ -d ' string data' "
114114` ;
115115
116116exports [` searchParamsBody 1` ] = `
117117"curl https://jsonplaceholder.typicode.com/posts \\
118118 -X POST \\
119- -H " Content-Type: text/plain" \\
120- -d " key1=value+1" "
119+ -H ' Content-Type: text/plain' \\
120+ -d ' key1=value+1' "
121121` ;
0 commit comments