feat: backport contact form api endpoint

This commit is contained in:
Björn Fromme
2025-12-10 18:00:51 +01:00
parent e7997f84eb
commit b9dfeb2d3e
8 changed files with 160 additions and 0 deletions
+16
View File
@@ -53,3 +53,19 @@ GET {{base_url}}/api/travels/DWWWE211125
Accept: application/json
Authorization: Bearer {{$auth.token("oauth2_api")}}
### API contact form
POST {{base_url}}/api/contactform
Accept: application/json
Content-Type: application/json
Authorization: Bearer {{$auth.token("oauth2_api")}}
{
"lastName": "Duschen",
"firstName": "Isolde",
"gender": "f",
"street": "Fooroad 1",
"zipCode": "12345",
"city": "Bartown",
"email": "[email protected]",
"phone": "12345"
}