easyctf-2017/web/js/admin/problem.js
2016-01-02 13:20:12 -05:00

11 lines
247 B
JavaScript

function add_problem(name, category, description, hint, flag, value) {
$.post("/api/problem/add", {
name: name,
category: category,
hint: hint,
flag: flag,
value: value
}, function(data) {
})
}