REST Flashcards

1
Q

What is an API?

A

Application Programming Interface

There exists Wep API, Browser API and Server API.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is REST and RESTful services?

A

Representational State Transfer protocol

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

SOAP

A

Simple Object Access protocol

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

SOAP vs REST

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

HTTP

A

Hypertext Transfer Protocol is an application-layer protocol designed for the transmission of hypermedia documents, such as HTML and image resources between web browsers and web servers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

JWT

A

Jason Web Token

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the JWT structure?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Explain the HTTP request lifecycle.

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

ASP.NET Core pipeline

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

HTTP Context

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How do you secure an ASP.NET Core app?

A

By using filters which can be applied like attributes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

authentication vs. authorization

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How do FILTERS work?

A

Filters run as their own pipeline.

Sequence of a filter:

  • Authorization
  • Resource
  • Action
  • Exception
  • Result
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

builders vs. services vs. middleware OH, MY!

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

model binders

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

If there are two get methods in a controller, how do we specify which one to call?

A
17
Q

attribute routing (syntax example)

A
18
Q

external API vs open API vs internal API

A
19
Q

CORS

A

Cross-Origin Resource Sharing allows restricted resources on a web page to be requested from another domain.

CORS is an HTTP-header based mechanism that allows a server to indicate any origins (domain, scheme, or port) other than its own from which a browser should permit loading resources. CORS also relies on a mechanism by which browsers make a “preflight” request to the server hosting the cross-origin resource, in order to check that the server will permit the actual request. In that preflight, the browser sends headers that indicate the HTTP method and headers that will be used in the actual request.