1
0
mirror of https://github.com/labstack/echo.git synced 2025-01-10 00:28:23 +02:00
echo/website/content/recipes/jsonp.md
Vishal Rana 9918c9b4e9 updated docs
Signed-off-by: Vishal Rana <vishal.rana@verizon.com>
2016-11-16 23:05:53 -08:00

472 B

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

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" >}}

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

Maintainers