Last active
December 31, 2016 18:05
-
-
Save scriptype/0d1a331f54bb8aef48344599cb59a4d4 to your computer and use it in GitHub Desktop.
Toplist-as-a-db
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var form = new FormData() | |
var unique = crypto.getRandomValues(new Int32Array(3)).join('-') | |
form.set('modulenter[titel]', 'db-entry 5') | |
form.set('modulenter[url]', `http://${unique}.com`) | |
form.set('modulenter[name]', 'dba') | |
form.set('modulenter[email]', '[email protected]') | |
form.set('email', 'ZmxhYQD3BQtfYwD4ZvjlYwLkYQZ4YwDfZGRkYvjmBQD2') | |
form.set('mode', 'addlink') | |
form.set('modulenter[text]', JSON.stringify({ | |
nick: "scriptype", | |
message: "lorem" | |
})) | |
fetch('list.htm', { | |
method: 'POST', | |
body: form | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment