I'm pretty new to Web Development and I admit that following several guides online I'm still a little confused about some basic concepts. I have a Angular8 form that works pretty fine: I insert data and click on "Submit".
onSubmit() {
console.log(this.model);
this.submitted = true;
}
And prints in the console the data of the form (I followed this official guide for reference).
Here's the content of my search-message.ts (the class of model):
export class SearchMessage {
constructor(
public id: number,
public inputText: string,
public targetSite: string,
public searchLimit: number,
public details: boolean
) { }
}
Now I'm trying to write a Spring Boot application that will receive the model object and I will simply print in output the same data. No database should be involved in this procedure (and that's why I'm confused: all guides I find online are about connecting a db on a server to the view in Angular). How should I do this?