-
Notifications
You must be signed in to change notification settings - Fork 0
Web Development
kitiya edited this page Mar 8, 2020
·
16 revisions
GETPOSTPUTDELETE
- 1xx: Information
- 2xx: Success
- 3xx: Redirect
- 4xx: Client errors
- 5xx: Server errors
JSON.parse(jsonString)JSON.stringnify(jsonObject)
componentDidMount() {
fetch(url)
.then(response => response.json())
.then(users => { this.setState({myUsers: users}) });
}