Make POST requests properly from ruby. Closes #1