-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
I'm not sure if this an issue with my API key or the formatting of the URL. Here is what my url request looks like:
https://www.googleapis.com/language/translate/v2?key=MYKEYISHERE&q=Here's%20what%20I'm&source=en&target=ja&format=text
Then this is the 400 response that I'm getting:
{ Status Code: 400, Headers {
"Cache-Control" = (
private
);
"Content-Encoding" = (
gzip
);
"Content-Length" = (
181
);
"Content-Type" = (
"application/json; charset=UTF-8"
);
Date = (
"Fri, 16 Feb 2018 23:38:01 GMT"
);
Server = (
ESF
);
Vary = (
Origin,
"X-Origin",
Referer
);
"alt-svc" = (
"hq=\":443\"; ma=2592000; quic=51303431; quic=51303339; quic=51303338; quic=51303337; quic=51303335,quic=\":443\"; ma=2592000; v=\"41,39,38,37,35\""
);
"x-content-type-options" = (
nosniff
);
"x-frame-options" = (
SAMEORIGIN
);
"x-xss-protection" = (
"1; mode=block"
);
}
Maybe I have my API key wrong? I'm using the value of private_key_id after creating a new project on Google Cloud Platform API.
Any help would be much appreciated!
Metadata
Metadata
Assignees
Labels
No labels