1
0
mirror of https://github.com/labstack/echo.git synced 2024-12-12 10:13:35 +02:00
echo/website/content/recipes/jsonp.md
Vishal Rana b6547dde66 recipe & website in the main repo
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-10-20 11:30:53 -07:00

501 B

+++ title = "JSONP Recipe" description = "JSONP recipe / example for Echo" [menu.side] name = "JSONP" parent = "recipes" weight = 6 +++

JSONP Recipe

JSONP is a method that allows cross-domain server calls. You can read more about it at the JSON versus JSONP Tutorial.

Server

server.go

{{< embed "jsonp/server.go" >}}

Client

index.html

{{< embed "jsonp/public/index.html" >}}

Maintainers

[Source Code]({{< source "jsonp" >}})