Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 1.64 KB

README.md

File metadata and controls

36 lines (25 loc) · 1.64 KB

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