export async function submitForm()

in source/4-landing-page-with-feedback-api/ui/src/services.ts [24:30]


export async function submitForm(form: Form) {
  const API_URL = (await fetchConfig()).API_URL;
  return fetch(`${API_URL}feedback`, {
    method: 'POST',
    body: JSON.stringify(form)
  });
}