I think you used different URLs to serve html and json. But the
common solution is to use the header "Accept" in an HTTP request
and build an output based on it value, not an URL. With this
approach you can use one controller to produce a data with
You received this message because you are subscribed to the Google Groups "ChicagoBoss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chicagoboss...@googlegroups.com.
Visit this group at https://groups.google.com/group/chicagoboss.
To view this discussion on the web visit https://groups.google.com/d/msgid/chicagoboss/tencent_EFD0EEB826B3474F38F36FD27784361A7B08%40qq.com.
For more options, visit https://groups.google.com/d/optout.