Hmm, doesn't seem to work with the example they give.   

I've used my api keys, and popped in some values.  It's supposed to return 
a hash.  

I'm not sure if it's actually connecting?  How would I check to see if the 
request was actually sent?  and what the response is?

Thanks,
Joe

On Thursday, June 1, 2017 at 1:46:39 PM UTC-4, Joe Guerra wrote:
>
> Well, I got the canada post api keys.  
>
> I've got to try it with one of following canada post gem...
>
> https://rubygems.org/search?utf8=%E2%9C%93&query=canada+post
>
>
>
> On Thursday, June 1, 2017 at 12:29:18 PM UTC-4, steve enzer wrote:
>>
>> httparty might do the job
>>
>> On Wednesday, May 31, 2017 at 10:27:42 AM UTC-7, Joe Guerra wrote:
>>>
>>> Hmm, which gem would allow you to perform http requests within Rails?  I 
>>> would like to send a request to the canadapost website and pass it some 
>>> parameters and return a shipping total.
>>>
>>> I do believe there is a canadapost gem, but I'm not sure how upto date 
>>> it is.
>>>
>>> I guess the other option is to like add paramters to a url and open that 
>>> page on a new tab?
>>>
>>> Thanks,
>>> Joe
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/eab4a103-d4fb-4ff8-806f-33aa3013739a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to