mirror of
https://github.com/OtusTeam/Spring.git
synced 2026-05-30 10:50:42 +00:00
2023-07 spring-19-ajax updated
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
<script>
|
||||
function getDataByAxios() {
|
||||
axios.get('https://rickandmortyapi.com/api/character/3')
|
||||
.then(json => outputCharacter(json.data))
|
||||
.then(response => outputCharacter(response.data))
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user