Skip to content

Commit 7b43356

Browse files
authored
Update jsonp.md (#261)
1 parent cdf0b21 commit 7b43356

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

content/en/docs/examples/jsonp.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@ func main() {
1313
data := map[string]interface{}{
1414
"foo": "bar",
1515
}
16-
17-
//callback is x
16+
17+
// GET /JSONP?callback=x
18+
// callback is x
1819
// Will output : x({\"foo\":\"bar\"})
1920
c.JSONP(http.StatusOK, data)
2021
})

0 commit comments

Comments
 (0)