diff --git a/support-portal-frontend/src/app/service/user.service.ts b/support-portal-frontend/src/app/service/user.service.ts index e3190cf..5b93ee6 100644 --- a/support-portal-frontend/src/app/service/user.service.ts +++ b/support-portal-frontend/src/app/service/user.service.ts @@ -18,6 +18,11 @@ export class UserService { return this.httpClient .get(`${this.host}/user`); } + + public addUser(formData: FormData): Observable { + return this.httpClient + .post(`${this.host}/user/add`, formData); + } } export interface UserPage {