Ruby on Rails Friday, December 28, 2018

On Thu, Dec 27, 2018 at 11:29 PM fugee ohu <fugee279@gmail.com> wrote:

>> On Thu, Dec 27, 2018 at 4:10 PM fugee ohu <fuge...@gmail.com> wrote:

> What docs? You asked if I passed in an `accept request header` so I asked if I need to You're obscuring this thread

>> > So I need to pass in accept request header json as the first parameter to NET::HTTP ?

You asked the question above ^^ and without looking at the docs
I wouldn't know the order of arguments ("parameters") to that library.

And I didn't say you *needed* to do anything, I just asked if you were
specifying the content-type you wanted in the request. There's still no
guarantee that's what you'll get, but there's a better chance 😀

--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan
Consulting Availability : Silicon Valley or remote

--
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+unsubscribe@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/CACmC4yCC_%2BOX1_c9RyC0OCTadzQ-gTdVVJG6St71jbXgoOw6Rw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment