These are chat archives for gin-gonic/gin

18th
Jun 2015
Fernando Scasserra
@Fersca
Jun 18 2015 14:35
Hi guys, anyone knows how can I process a jsonP call in gin?
I am using c.JSON(200, content)
where "content" is a map
but, I need to wrap the response with the callback, like --> p([200, {\"Content-Type\":\"application/json;charset=UTF-8\"},{myJSON}])
do you know if it is supported natively?