Answer the question
In order to leave comments, you need to log in
How to build a request to the json server and get the data?
Good afternoon!
I spent two days to get user data (in json format), tell me \ help (:
The component in which there is a form, mail is entered into it, then the user data is received.
A model in which all fields are registered
export class UserData {
constructor(
public group: string,
public name: string,
public email: string,
public password: string,
public id?: number
) {}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question