function-urls

command
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 28, 2022 License: MIT Imports: 3 Imported by: 0

README

API Gateway V2 example of ridgenative

It is a saying hello example on API Gateway V1.

$ curl -F name=shogo https://xxxxxxx.lambda-url.ap-northeast-1.on.aws/hello

RUN LOCALLY

$ go run main.go
$ curl -F name=shogo http://localhost:8080/hello
Hello shogo

Run on AWS Lambda with API Gateway

template.yaml is AWS Serverless Application Model template file. You can run this sample on AWS with API gateway proxy integration.

$ ./deploy.sh $YOUR_S3_BUCKET_NAME $YOUR_STACK_NAME
$ curl -F name=shogo https://$API_ID.lambda-url.$REGION.on.aws/hello
Hello shogo

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL