Search Header Logo

Web API

Authored by Nataly Revutska

Computers

1st - 5th Grade

Used 1+ times

Web API
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Are models automatically validated if [ApiController] attribute is used for controller class

Yes

No

It has no effect on model validation

2.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

ApiController attribute provides automatic HTTP ___ responses

400

401

402

403

404

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Is it mandatory to use attribute base routing when using [ControllerApi]?

Yes

No

Such attribute doesn`t exist

Attribute base routing doesn`t exist

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What means status code 403 Forbidden?

Error while executing the request

Resource not found

Access denied

User is not logged in

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which datatype is used more often in WebAPI to represent responce?

JSON

HTML

XML

Plain text

6.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Select binding source attributes.

[FromHeader]

[FromRoute]

[FromModel]

[FromAction]

[FromServices]

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Which method returns 400 status code?

Access all questions and much more by creating a free account

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

Already have an account?