Ruby on Rails
Friday, December 28, 2018
On Friday, December 28, 2018 at 11:04:37 AM UTC-5, Colin Law wrote:
On Fri, 28 Dec 2018 at 15:53, fugee ohu <fuge...@gmail.com> wrote:
> ...
> I don't know what a valid json response is supposed to look like Also I don't know if it makes a difference they're using Struts framework
Once again I have googled for a link for you
https://www.w3schools.com/whatis/whatis_json.asp
Colin
Thanks The response I'm trying to parse is JSONP which is javascript (not json) and has some prepending like /**/jQuery18307882644047003491_1545786199753 so I have to strip it out of the response or make my call to the script without the callback maybe?
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/bdab92b7-b894-4ecb-8df9-46c029b616da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment