beego: controller add ServeFormatted
ServeFormatted serve Xml OR Json, depending on the value of the Accept header
Showing
Please
register
or
sign in
to comment
ServeFormatted serve Xml OR Json, depending on the value of the Accept header