# ActiveResource problem with get req

**URL:** <https://www.ruby-forum.com/t/activeresource-problem-with-get-req/142916>\
**Category:** Rails\
**Created:** [July 13, 2008, 2:24pm UTC](https://www.ruby-forum.com/t/activeresource-problem-with-get-req/142916 "2008-07-13T14:24:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [July 13, 2008, 2:24pm UTC](https://www.ruby-forum.com/t/activeresource-problem-with-get-req/142916/1 "2008-07-13T14:24:55Z")

</div>

since i can not find any documentation on this stuff that helps any  
i’m taking a stab at doing this…

```
@gapiTranslate = ActiveResource::Connection.new("http://

```

[translate.google.com](http://translate.google.com)", ActiveResource::Formats[:json])  
@gapiTranslate.get(“/translate\_t?q=hello&v=1.0&sl=en&tl=it”)

and it keeps returning INVALID JSON STRING in the browser… am i  
making the request to good incorrectly or something… is this even  
the right way to achieve what i hope it looks like im trying to do?

- FJM

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [July 16, 2008, 12:56am UTC](https://www.ruby-forum.com/t/activeresource-problem-with-get-req/142916/2 "2008-07-16T00:56:18Z")

</div>

hmm… i mean ‘google’… not good. c’mon no takers on this? hehehe…  
any kinda pointers to even good docs on this stuff?

On Jul 13, 8:24 am, “removed\_email\_address@domain.invalid” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
