1- {
2- "Get request block" : {
3- "prefix" : " get" ,
4- "body" : [
5- " GET ${1:url} HTTP/1.1"
6- ],
7- "description" : " GET Request"
8- },
9- "Delete request block" : {
10- "prefix" : " delete" ,
11- "body" : [
12- " DELETE ${1:url} HTTP/1.1"
13- ],
14- "description" : " DELETE Request"
15- },
16- "Post request block" : {
17- "prefix" : " post" ,
18- "body" : [
19- " POST ${1:url} HTTP/1.1" ,
20- " ${2:header name}: ${3:header value}" ,
21- " " ,
22- " ${4:content}"
23- ],
24- "description" : " POST Request"
25- },
26- "Put request block" : {
27- "prefix" : " put" ,
28- "body" : [
29- " PUT ${1:url} HTTP/1.1" ,
30- " ${2:header name}: ${3:header value}" ,
31- " " ,
32- " ${4:content}"
33- ],
34- "description" : " PUT Request"
35- },
36- "GraphQL request block" : {
37- "prefix" : " graphql" ,
38- "body" : [
39- " POST ${1:url} HTTP/1.1" ,
40- " X-Request-Type: GraphQL" ,
41- " ${2:header name}: ${3:header value}" ,
42- " " ,
43- " ${4:body content}" ,
44- " " ,
45- " ${5:variables content(optional)}"
46- ]
47- },
48- "SOAP request block" : {
49- "prefix" : " soap" ,
50- "body" : [
51- " POST ${1:url} HTTP/1.1" ,
52- " Content-Type: application/soap+xml" ,
53- " ${2:header name}: ${3:header value}" ,
54- " " ,
55- " <soap:Envelope" ,
56- " \t xmlns:soap=\" http://www.w3.org/2001/12/soap-envelope\" " ,
57- " \t soap:encodingStyle=\" http://www.w3.org/2001/12/soap-encoding\" >" ,
58- " \t <soap:Body>" ,
59- " \t\t ${4:content}" ,
60- " \t </soap:Body>" ,
61- " </soap:Envelope>"
62- ],
63- "description" : " SOAP Request"
64- },
65- "File level custom variable" : {
66- "prefix" : " fv" ,
67- "body" : [
68- " @${1:Variable_Name} = ${2:Variable_Value}"
69- ],
70- "description" : " Define Custom File Variable"
71- },
72- "Request variable" : {
73- "prefix" : " rv" ,
74- "body" : [
75- " # @name ${1:Request_Name}"
76- ],
77- "description" : " Define Request Variable"
78- }
1+ {
2+ "Get request block" : {
3+ "prefix" : " get" ,
4+ "body" : [
5+ " GET ${1:url} HTTP/1.1"
6+ ],
7+ "description" : " GET Request"
8+ },
9+ "Delete request block" : {
10+ "prefix" : " delete" ,
11+ "body" : [
12+ " DELETE ${1:url} HTTP/1.1"
13+ ],
14+ "description" : " DELETE Request"
15+ },
16+ "Post request block" : {
17+ "prefix" : " post" ,
18+ "body" : [
19+ " POST ${1:url} HTTP/1.1" ,
20+ " ${2:header name}: ${3:header value}" ,
21+ " " ,
22+ " ${4:content}"
23+ ],
24+ "description" : " POST Request"
25+ },
26+ "Put request block" : {
27+ "prefix" : " put" ,
28+ "body" : [
29+ " PUT ${1:url} HTTP/1.1" ,
30+ " ${2:header name}: ${3:header value}" ,
31+ " " ,
32+ " ${4:content}"
33+ ],
34+ "description" : " PUT Request"
35+ },
36+ "GraphQL request block" : {
37+ "prefix" : " graphql" ,
38+ "body" : [
39+ " POST ${1:url} HTTP/1.1" ,
40+ " X-Request-Type: GraphQL" ,
41+ " ${2:header name}: ${3:header value}" ,
42+ " " ,
43+ " ${4:body content}" ,
44+ " " ,
45+ " ${5:variables content(optional)}"
46+ ]
47+ },
48+ "SOAP request block" : {
49+ "prefix" : " soap" ,
50+ "body" : [
51+ " POST ${1:url} HTTP/1.1" ,
52+ " Content-Type: application/soap+xml" ,
53+ " ${2:header name}: ${3:header value}" ,
54+ " " ,
55+ " <soap:Envelope" ,
56+ " \t xmlns:soap=\" http://www.w3.org/2001/12/soap-envelope\" " ,
57+ " \t soap:encodingStyle=\" http://www.w3.org/2001/12/soap-encoding\" >" ,
58+ " \t <soap:Body>" ,
59+ " \t\t ${4:content}" ,
60+ " \t </soap:Body>" ,
61+ " </soap:Envelope>"
62+ ],
63+ "description" : " SOAP Request"
64+ },
65+ "File level custom variable" : {
66+ "prefix" : " fv" ,
67+ "body" : [
68+ " @${1:Variable_Name} = ${2:Variable_Value}"
69+ ],
70+ "description" : " Define Custom File Variable"
71+ },
72+ "Request variable" : {
73+ "prefix" : " rv" ,
74+ "body" : [
75+ " # @name ${1:Request_Name}"
76+ ],
77+ "description" : " Define Request Variable"
78+ }
7979}
0 commit comments