ldin wrote:
> Dont understand your last message. Are you saying I need to send a
> parameter to tell my code to return json? It's doing it already, it's
> somewhere on way back to the client it's changed into xml. I think.
>
> On Wed, May 20, 2015 at 1:19 PM, Thomas Fee
See this -
http://stackoverflow.com/questions/1250060/rest-and-multiple-data-formats
On Wed, May 20, 2015 at 12:14 PM, mark goldin wrote:
> I think that would be based on content-type?
>
> Dont have a tinniest idea.
>
> On Wed, May 20, 2015 at 1:10 PM, Thomas Fee wrote:
&g
, mark goldin wrote:
> I think that would be based on content-type?
>
> Dont have a tinniest idea.
>
> On Wed, May 20, 2015 at 1:10 PM, Thomas Fee wrote:
>
>> Tell me this: Suppose you make one request, in which you ask for JSON.
>> Then a second request, in which y
son. Is that what you
> meant?
>
> On Wed, May 20, 2015 at 12:40 PM, Thomas Fee wrote:
>
>> See this Rails example -
>> http://edgeapi.rubyonrails.org/classes/ActionController/Responder.html
>>
>> The web server needs to know about request formats and have s
See this Rails example -
http://edgeapi.rubyonrails.org/classes/ActionController/Responder.html
The web server needs to know about request formats and have separate
responders for these formats.
On Wed, May 20, 2015 at 11:33 AM, mark goldin wrote:
> Here is what the server returns:
>
> {"asset
The server is not returning Json; it's returning Xml. You need to change
the method's expected and return format to Xml, e.g. maybe the URL should
be like http://asdf/resource.json. The fact that then inner data is Json is
misleading.
On Wed, May 20, 2015 at 11:33 AM, mark goldin wrote:
> Here i
How deep do you want to dig into it? I prefer a somewhat black-box approach
and this ebook is free and truly excellent: http://www.angularjsbook.com/
On Tue, May 19, 2015 at 12:41 PM, Abbott Fleur
wrote:
>
> Mo,
> Thanks for those fixes. I was trying to "cheap-out" my learning curve by
> just d