Ruby on Rails Saturday, December 29, 2018



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 <fuge...@gmail.com> wrote:
> ...
>  It's not clear to me what the response is Can the problem be that my request is the full url with callback and other query string data Should I just be calling the script without invoking the Struts framework callback but still provide the item number as query string data

Earlier on you had something that looked like JSON to me, except for
the stuff on the front, and you posted

> I think I just need to strip the leading /**/jQuery18307882633047005491_1545805999753 from the result
> /**/jQuery18307882633047005491_1545805999753({"success":true,"code":0,"results":[{"productId":32817749905,
>

Since then you have done something that is producing \" instead of ".
I suggest you go back to whatever you had then.

As an alternative you could try Hassan's advice.  Whatever you do make
sure you keep sufficient notes that you can always get back to the
where you were when you find yourself going backwards.

Colin

That was from the beginning of the response A little further on in the response some quotes are escaped I don't know why  

--
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/3a6db669-4c95-4457-9d68-a5ff78e11da1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment