pass stopforumspam as formencoded

This commit is contained in:
Kyle Drake 2017-01-15 15:07:58 -08:00
parent 6e37fd7d25
commit 65008f4ac4

View file

@ -4,7 +4,7 @@ class StopForumSpamWorker
def perform(opts) def perform(opts)
opts.merge! api_key: $config['stop_forum_spam_api_key'] opts.merge! api_key: $config['stop_forum_spam_api_key']
res = HTTP.post 'https://stopforumspam.com/add', opts res = HTTP.post 'https://stopforumspam.com/add', form: opts
puts res.inspect puts res.inspect
end end
end end