Added doc to quiz js

This commit is contained in:
Max Geldner
2018-12-11 11:13:38 +01:00
committed by Nanne Baars
parent 3d7974aa45
commit 8b61811278
3 changed files with 11 additions and 2 deletions

View File

@ -16,10 +16,10 @@ import java.sql.SQLException;
import java.sql.Statement;
/**
* @TODO: Get JSON from file not from hardcoded string
* add a question: 1. Append new question to JSON string
* 2. add right solution to solutions array
* 3. add Request param with name of question to method head
* For a more detailed description how to implement the quiz go to the quiz.js file in webgoat-container -> js
*/
@AssignmentPath("/SqlInjection/quiz")
public class SqlInjectionQuiz extends AssignmentEndpoint {

View File

@ -173,7 +173,7 @@
method="POST" name="form"
action="SqlInjection/quiz"
enctype="application/json;charset=UTF-8" role="form">
<div id="q_container"></div>
<div id="q_container"></div>
<br />
<input name="Quiz_solutions" value="Submit answers" type="SUBMIT"/>
</form>