Review & Export – Sections A through G

Review & Export

This page reads your saved answers for sectionA … sectionG from your browser’s local storage. Use the buttons below to export or print.

Advanced (optional): Post to an API

If later you want to send all sections to your backend (e.g., AWS API Gateway → Lambda), you can adapt this example. It’s commented out by default.

// Example: POST merged data as JSON
// async function submitToApi() {
//   const payload = window.__GPRA_COMBINED__;
//   const res = await fetch('https://your-api.example.com/gpra', {
//     method: 'POST',
//     headers: { 'Content-Type': 'application/json' },
//     body: JSON.stringify(payload),
//   });
//   if (!res.ok) throw new Error('Failed: ' + res.status);
//   alert('Submitted!');
// }