You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: challenger/src/main/java/uk/co/compendiumdev/challenge/challenges/ChallengeDefinitions.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -82,7 +82,7 @@ public ChallengeDefinitions(ChallengerConfig config){
82
82
83
83
// CREATE with POST
84
84
ChallengeSectionpostCreateChallenges = newChallengeSection("Creation Challenges with POST",
85
-
"A POST request can be used to create and update data, these challenges are to 'create' data. As a Hint, if you are not sure what the message body should be, try copying in the response from the associated GET request, and amending it.");
85
+
"A POST request can be used to create and update data, these challenges are to 'create' data.");
@@ -97,7 +97,7 @@ public ChallengeDefinitions(ChallengerConfig config){
97
97
98
98
// CREATE with PUT
99
99
ChallengeSectionputCreateChallenges = newChallengeSection("Creation Challenges with PUT",
100
-
"A PUT request can often used to create and update data. The todo application we are using has automatically generated ids, so you cannot use PUT to create. As a Hint, if you are not sure what the message body should be, try copying in the response from the associated GET request, and amending it.");
100
+
"A PUT request can often used to create and update data. The todo application we are using has automatically generated ids, so you cannot use PUT to create.");
Copy file name to clipboardExpand all lines: challenger/src/main/java/uk/co/compendiumdev/challenge/challenges/definitions/ChallengerChallenges.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ public static ChallengeDefinitionData createChallenger201(int challengeOrder) {
10
10
"POST /challenger (201)",
11
11
"Issue a POST request on the `/challenger` end point, with no body, to create a new challenger session. Use the generated X-CHALLENGER header in future requests to track challenge completion."
12
12
);
13
-
aChallenge.addHint("In multi-user mode, you need to create an X-CHALLENGER Session first", "/gui/multiuser");
13
+
aChallenge.addHint("In multi-user mode, you need to create an X-CHALLENGER Session in order to complete any challenges or make PUT, POST, DELETE requests", "/gui/multiuser");
14
14
aChallenge.addSolutionLink("Send request using POST to /challenger endpoint. The response has an X-CHALLENGER header, add this header X-CHALLENGER and the GUID value to all future requests.","","");
"Issue a GET request on the `/todos` end point with a query filter to get only todos which are 'done'. There must exist both 'done' and 'not done' todos, to pass this challenge.");
88
+
77
89
aChallenge.addHint("A query filter is a URL parameter using the field name and a value");
78
90
aChallenge.addHint("A URL parameter is added to the end of a url with a ? e.g. /todos?id=1");
79
91
aChallenge.addHint("To filter on 'done' we use the 'doneStatus' field ? e.g. ?doneStatus=true");
80
92
aChallenge.addHint("Make sure there are todos which are done, and not yet done");
0 commit comments