Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

post data

Login(user: User) {
    return this.http.post('your url' + 'account/Login', user).subscribe(
        (data) => {

        },
        (error) => {
           console.log(error);
           // get the status as error.status
        })
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #post #data
ADD COMMENT
Topic
Name
1+2 =