Getting error in console : Failed to load resource: net::ERR_CONNECTION_RESET
I think you are using chrome.
The problem is the certificate mismatch or the expiration of the certificate.Check your certificate properly.
Just visit here for more information.
Failed to load resource: net::ERR_CONNECTION_RESET And backend side Error: Illegal arguments: undefined, string
You appear to be posting the string "user" and not the object user from your incoming variable.
this:
return this.http.post('http://localhost:3000/users/register','user', {headers: headers})
should be this:
return this.http.post('http://localhost:3000/users/register', user, {headers: headers})
Related Topics
How to Show Checkboxes as Checked When Values Are Set in the Database in Laravel
How to Add Auto Numbering With Each Fetching Row
How to Get Part of Url Before Last Slash With PHP
Php Adding 15 Minutes to Time Value
Dynamically Display a CSV File as an HTML Table on a Web Page
My Routes Are Returning a 404, How to Fix Them
Convert One Date Format into Another in PHP
Project Links Do Not Work on Wamp Server
PHP Execute a Background Process
How to Change PHP Version in Xampp
Regex - Exclude "-" Between Numbers
How to Remove Query Part from $Request->All() in Laravel Framework
Getting Check Box Values as Checked from Database Codeigniter
Display Data from Database to Dropdown Codeigniter