🚧 started on question-form

Co-authored-by: haraldnilsen <harald_998@hotmail.com>
Signed-off-by: Sindre Kjelsrud <kjelsrudsindre@gmail.com>
This commit is contained in:
Sindre Kjelsrud 2024-01-04 18:23:45 +01:00
parent 8e4e7aa5fc
commit 7e00f24fbd
Signed by untrusted user who does not match committer: sidski
GPG key ID: D2BBDF3EDE6BA9A6
3 changed files with 17 additions and 5 deletions

View file

@ -1,9 +1,13 @@
export const postFormData = (
interface postUserformDataReponse {
respondentID: number;
}
export const postUserformData = (
age: string,
education: string,
healthcare_personnel: string,
gender: string
) => {
): postUserformDataReponse => {
let url = "http://localhost:8080/submitform";
let personnel = healthcare_personnel == "Ja" ? true : false;