easyctf-2017/web/js/admin/problem.js

12 lines
247 B
JavaScript
Raw Normal View History

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) {
})
}