React Native Session 15 API

React Native Session 15 API

University

20 Qs

quiz-placeholder

Similar activities

Khảo Sát Chất Lượng Môn TIN 8

Khảo Sát Chất Lượng Môn TIN 8

8th Grade - University

15 Qs

THI HKI Tin học - Khối 1 và 2

THI HKI Tin học - Khối 1 và 2

1st Grade - University

15 Qs

ÔN TẬP THIẾT BỊ VÀO RA, PHẦN MỀM MÁY TÍNH

ÔN TẬP THIẾT BỊ VÀO RA, PHẦN MỀM MÁY TÍNH

7th Grade - University

15 Qs

Ôn tập tin học 3_HKII

Ôn tập tin học 3_HKII

3rd Grade - University

20 Qs

GDG ANDROID BOOTCAMP QUIZ

GDG ANDROID BOOTCAMP QUIZ

University

20 Qs

Đạo đức và pháp luật trong không gian mạng

Đạo đức và pháp luật trong không gian mạng

12th Grade - University

20 Qs

PSTS GANJIL 2025

PSTS GANJIL 2025

9th Grade - University

21 Qs

Day 1 - Khởi Động "Video Marketing"

Day 1 - Khởi Động "Video Marketing"

University

20 Qs

React Native Session 15 API

React Native Session 15 API

Assessment

Quiz

Information Technology (IT)

University

Easy

Created by

academy rikkei

Used 1+ times

FREE Resource

AI

Enhance your content

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh nào sau đây được sử dụng để cài đặt thư viện axios thông qua npm?

npm install react-native-axios

npm install axios

npm add axios-library

npm get axios

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để lấy dữ liệu từ một API endpoint, bạn nên sử dụng phương thức nào của axios?

axios.post()

axios.push()

axios.get()

axios.fetch()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cú pháp đúng để thực hiện một yêu cầu POST bằng axios là gì?

axios.post('/api/users')

axios.post('/api/users', { name: 'John' })

axios.post({ name: 'John' }, '/api/users')

axios.post('/api/users').data({ name: 'John' })

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Khi một yêu cầu axios.get() thành công, dữ liệu trả về từ server thường nằm trong thuộc tính nào của đối tượng response?

response.json

response.text

response.data

response.content

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để cập nhật toàn bộ thông tin của một tài nguyên đã tồn tại trên server, phương thức nào thường được sử dụng?

axios.post()

axios.patch()

axios.put()

axios.update()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Phương thức nào được sử dụng để xóa một tài nguyên trên API?

axios.remove('/api/users/1')

axios.delete('/api/users/1')

axios.get('/api/users/1/delete')

axios.drop('/api/users/1')

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

axios.create() được sử dụng để làm gì?

Tạo ra một yêu cầu GET mới.

Xóa một cấu hình axios đã có.

Tạo một instance (thể hiện) mới của axios với cấu hình tùy chỉnh (như baseURL, headers).

Chỉ để gửi dữ liệu dạng form.

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?