It is an Angular question. My server returns json. On Tue, May 19, 2015 at 3:43 PM, Brian <[email protected]> wrote:
> Is there an angular JS question in here somewhere? > > Open dev tools in your browser and check the payload you are receiving > from the server. If you're expecting JSON, and receiving XML, then you > server is broken, or your expectations are wrong ;) > > > On Tuesday, May 19, 2015 at 4:25:51 PM UTC-4, mark goldin wrote: >> >> Here is my request: >> >> Key Value >> Request POST /services/reports_ws.asmx/getData HTTP/1.1 >> Accept application/json, text/plain, */* >> Content-Type plain/text >> >> I am getting the result as an xml while the server returns json string. I >> would specify Content-Type json but then my call simply fails. >> >> Please help. >> >> Thanks >> > -- > You received this message because you are subscribed to a topic in the > Google Groups "AngularJS" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/angular/WSXJLjdKBVQ/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/angular. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
