Ruby on Rails Friday, June 2, 2017

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?


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...

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?


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
To post to this group, send email to
To view this discussion on the web visit
For more options, visit

No comments:

Post a Comment