-
cp .env.example .env
-
edit .env
GOOGLE_SERVICE_ACCOUNT_EMAIL=
GOOGLE_SPREADSHEET_ID_FROM_URL=
GOOGLE_PRIVATE_KEY=
-
run
netlify dev
command -
test http://localhost:8888/api in postman
JSON PAYLOAD
{
"referral_code": "midascode"
}
-
Go to Settings
-
Click Change Site Name
${username}-tss-fn-get-all-commission.yourdomain.com
- make post request with Needed payload to
${username}-tss-fn-get-all-commission.domain.com/api