1
0
mirror of https://github.com/labstack/echo.git synced 2026-05-16 09:48:24 +02:00
Files
echo/website/content/cookbook/jsonp.md
T
Vishal Rana 49321f5829 Updated website and examples
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-01-17 10:47:16 -08:00

465 B

+++ title = "JSONP" description = "JSONP example for Echo" [menu.main] name = "JSONP" parent = "cookbook" 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