Search Header Logo

CORS

Authored by Nataly Revutska

Computers

1st - 5th Grade

Used 8+ times

CORS
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

11 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Option, which allows to perform HTTP requests to multiple foreign addresses is ...

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which HTTP request is sent first, to understand if further requests are available?

HEAD

PUT

OPTIONS

ORIGIN

GET

3.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

UseCors should use

after UseRouting

before UseAuthorization

after UseAuthorization

before UseStaticFiles

before UseEndpoints

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Choose correct using of WithOrigins

builder.WithOrigins("https://google.com", "https://test.com/")

builder.WithOrigins("https://google.com", "https://test.com")

builder.WithOrigins(new string[] { "https://google.com" })

builder.WithOrigins(new string[] { "https://google.com/" })

builder.WithOrigins("https://google.com")

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method of the CorsPolicyBuilder object allows you to accept identification data from the client (e.g. cookies).

WithOrigins()

WithExposedHeaders()

AllowCredentials()

AllowAnyOrigin()

WithHeaders()

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Which attribute should be used to exclude a method or controller from CORS ?

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

We should define headers that will be sent to the client with method:

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?