Skip to content

Instantly share code, notes, and snippets.

@mohemohe
Last active August 29, 2015 13:55
Show Gist options
  • Save mohemohe/8785360 to your computer and use it in GitHub Desktop.
Save mohemohe/8785360 to your computer and use it in GitHub Desktop.
Example of how to use covconv API in Ruby .
# coding: utf-8
require 'net/http'
require 'uri'
response = Net::HTTP.post_form(URI.parse('http://api.ghippos.net/covlang/'),
{'ja_JP'=> 'ここに原文を入力すると、こふ語になります。'})
puts response.body
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment