Re: [Rails] text visible in browser but not in source

2018-12-30 Thread fugee ohu
On Sunday, December 30, 2018 at 10:56:30 AM UTC-5, Colin Law wrote: > > On Sun, 30 Dec 2018 at 15:45, fugee ohu > > wrote: > > > > > > > > On Sunday, December 30, 2018 at 8:36:40 AM UTC-5, Colin Law wrote: > >> > >> On Sun, 30 Dec 2018 at 12:06, fugee ohu wrote: > >> > ... > >> > It's n

Re: [Rails] text visible in browser but not in source

2018-12-30 Thread fugee ohu
On Sunday, December 30, 2018 at 10:56:30 AM UTC-5, Colin Law wrote: > > On Sun, 30 Dec 2018 at 15:45, fugee ohu > > wrote: > > > > > > > > On Sunday, December 30, 2018 at 8:36:40 AM UTC-5, Colin Law wrote: > >> > >> On Sun, 30 Dec 2018 at 12:06, fugee ohu wrote: > >> > ... > >> > It's n

Re: [Rails] text visible in browser but not in source

2018-12-30 Thread Hassan Schroeder
On Sun, Dec 30, 2018 at 3:37 AM fugee ohu wrote: >> > You mean the Net::HTTP docs? I don't know I haven't thought to read them 🙄 > I found this page > http://po-ru.com/diary/turning-jsonp-callbacks-into-a-ruby-api-with-johnson/ > but don't understand it That's an interesting approach though `

Re: [Rails] text visible in browser but not in source

2018-12-30 Thread Colin Law
On Sun, 30 Dec 2018 at 15:45, fugee ohu wrote: > > > > On Sunday, December 30, 2018 at 8:36:40 AM UTC-5, Colin Law wrote: >> >> On Sun, 30 Dec 2018 at 12:06, fugee ohu wrote: >> > ... >> > It's not json it's javascript so I don't have to run JSON.parse >> >> {"success":true,"code":0,"results":[{"

Re: [Rails] text visible in browser but not in source

2018-12-30 Thread fugee ohu
On Sunday, December 30, 2018 at 8:36:40 AM UTC-5, Colin Law wrote: > > On Sun, 30 Dec 2018 at 12:06, fugee ohu > > wrote: > > ... > > It's not json it's javascript so I don't have to run JSON.parse > > {"success":true,"code":0,"results":[{"productId":3281905, ... > Looks like JSON to me

Re: [Rails] text visible in browser but not in source

2018-12-30 Thread Colin Law
On Sun, 30 Dec 2018 at 12:06, fugee ohu wrote: > ... > It's not json it's javascript so I don't have to run JSON.parse {"success":true,"code":0,"results":[{"productId":3281905, ... Looks like JSON to me (embedded in js admittedly). You said that the data you want is in that string. If that

Re: [Rails] text visible in browser but not in source

2018-12-30 Thread fugee ohu
On Saturday, December 29, 2018 at 10:02:07 AM UTC-5, Walter Lee Davis wrote: > > > > On Dec 29, 2018, at 7:13 AM, fugee ohu > > wrote: > > > > > > > > On Saturday, December 29, 2018 at 6:48:22 AM UTC-5, Colin Law wrote: > > On Sat, 29 Dec 2018 at 11:16, fugee ohu wrote: > > > ... > > >

Re: [Rails] text visible in browser but not in source

2018-12-30 Thread fugee ohu
On Friday, December 28, 2018 at 3:37:12 PM UTC-5, Hassan Schroeder wrote: > > On Thu, Dec 27, 2018 at 11:29 PM fugee ohu > wrote: > > >> On Thu, Dec 27, 2018 at 4:10 PM fugee ohu wrote: > > > What docs? You asked if I passed in an `accept request header` so I > asked if I need to You're obsc

Re: [Rails] text visible in browser but not in source

2018-12-30 Thread fugee ohu
On Saturday, December 29, 2018 at 10:02:07 AM UTC-5, Walter Lee Davis wrote: > > > > On Dec 29, 2018, at 7:13 AM, fugee ohu > > wrote: > > > > > > > > On Saturday, December 29, 2018 at 6:48:22 AM UTC-5, Colin Law wrote: > > On Sat, 29 Dec 2018 at 11:16, fugee ohu wrote: > > > ... > > >