Skip to content

Commit 63e535c

Browse files
author
drewkerrigan
committed
I tabbed a space
1 parent 7d00267 commit 63e535c

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

examples/http.config

+13-13
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@
1111
{value_generator, {fixed_bin, 10}}.
1212

1313
{operations, [
14-
%% Get without a key
15-
{{get, {"localhost", 4567, "/"}, []}, 1},
16-
%% Get with a key and headers
17-
{{get_re, {"localhost", 4567, "/%%K"}, [{'Content-Type', 'application/json'}]}, 1},
18-
%% Put with a json object and value
19-
{{put_re, {"localhost", 4567, "/",
20-
"{\"this\":\"is_json_%%V\"}"}, [{'Content-Type', 'application/json'}]}, 1},
21-
%% Post with an xml object and value
22-
{{post_re, {"localhost", 4567, "/%%K",
23-
"<?xml version=\"1.0\"?><catalog><book><author>%%V</author></book></catalog>"},
24-
[{'Content-Type', 'application/xml'}]}, 1},
25-
%% Delete with a key
26-
{{delete_re, {"localhost", 4567, "/%%K"}, []}, 1}
14+
%% Get without a key
15+
{{get, {"localhost", 4567, "/"}, []}, 1},
16+
%% Get with a key and headers
17+
{{get_re, {"localhost", 4567, "/%%K"}, [{'Content-Type', 'application/json'}]}, 1},
18+
%% Put with a json object and value
19+
{{put_re, {"localhost", 4567, "/",
20+
"{\"this\":\"is_json_%%V\"}"}, [{'Content-Type', 'application/json'}]}, 1},
21+
%% Post with an xml object and value
22+
{{post_re, {"localhost", 4567, "/%%K",
23+
"<?xml version=\"1.0\"?><catalog><book><author>%%V</author></book></catalog>"},
24+
[{'Content-Type', 'application/xml'}]}, 1},
25+
%% Delete with a key
26+
{{delete_re, {"localhost", 4567, "/%%K"}, []}, 1}
2727
]}.

0 commit comments

Comments
 (0)