Skip to content

Commit 8cfcb25

Browse files
committed
Added data format to requirements
1 parent e1dbf52 commit 8cfcb25

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lab/test_counter.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
- The API must be RESTful.
66
- The endpoint must be called `/counters`.
77
- When creating a counter, you must specify the name in the path.
8+
- The data returned should be this {"name":"some_name", "counter:0}
89
- Duplicate names must return a 409 conflict error code.
910
- The service must be able to update a counter by name.
1011
- The service must be able to get a counter's current value.

0 commit comments

Comments
 (0)