Re: [Rails] Impossible to get data with ActiveResource
On 21 October 2012 15:06, chardy <thibaud.ch@gmail.com> wrote:
> Yes, good idea, now I can understand where is the problem :
>
> GET http://diufvm31.unifr.ch:8090/CyberCoachServer/resources/users/users.xml
Is the url supposed to be resources/users/users.xml? Perhaps it
should just be resources/users.xml.
Colin
> --> 404 Not Found 32 (129ms)
>
> The server is not configured to respond for .xml (or .json). The content
> type should be defined in the header...
> Is it possible to setup this in ruby...?
>
> Thanks a lot!
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home