Skip to content

Office-of-Digital-Services/cagov-form-post-service

Repository files navigation

cagov-form-post-service

Service code for making your own form data post service.

This service runs as an Azure Function App.

File descriptions

Name Description
air-table\index.mjs Main function.
air-table\inputSchema.json JSON Valiation Schema used to validate API input body.

This implementation is used for https://template.webstandards.ca.gov/contact-us.html

A working example using this can be found here.

CORS

CORS is enabled on the function service. The following web sites are allowed to connect to the API.

Secrets

The following secrets need to be defined in your Azure Function App

Name Description
AirTablePersonalAccessToken API Personal access token to post to AirTable. AirTable tokens
ReCaptchaSecret Google ReCaptch Secret Key. V3 Admin Console

About

Service code for making your own form data post service.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published