Jump to content

POST & translate.google


AZJIO
 Share

Recommended Posts

Help to make

translate.google.com/translate_a/t?client=p&sl=ru&tl=en
text=hello%20world

Used INET.au3

Made as in an example below... But I in it don't understand, it doesn't work.

$Header = "Content-Type: application/x-www-form-urlencoded"
$Host = "translate.google.com"
$File = "/translate_a/t?client=p&sl=ru&tl=en"
$URL = "http://" & $Host & $File
$PostData = "text=hello%20world"

The idea is to get the text without restriction on the length of the string

Edited by AZJIO
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...