API Flashcards

1
Q

What is web API

A

Application Programming Interface, provides interaction between software application, for example iphone and android and web site

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

Advantages Web API y WCF

A

The intercommunication between platforms, the standard use of http verbs like get, post, put, delete, for all crud operations, is open source.

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

What is rest and restful

A

Rest stands for Representational State transfer is a set of guidelines which helps in creating a system where applications can easily communicate with each other.

Restful is a systema applying rest guidelines

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

REST Guidelines

A

Separation of client and server
Stateless The server will not store anything
Uniform Interfaces
Cacheable
Layered system

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

HTTP verbs

A

Get Obtain information about a resource
POST Create a new resource
PUT Update a resource
DELETE Delete a resource

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

API key Authentication

A

In API Key authentication the API owner will share an API key with the users and this key will authenticate the users of the API (token)

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

What is token based authentication

A

This authentication is a 4 step process
1 The client sent the credentials of user
2 The server authenticate using that credentials and generates the access token
3 The application uses th token in the next request until the token expires.
4 If the access token is expired. then the client application can request for a new access token by using refresh token.

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

What is OAuth

A

OAuth is a standard for creating token based authentication and authorization

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

What is JWT Authentication

A

JWT Authentication is a token base authentication where JWT is a token format

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

What are the parts of JWT token

A

Header (algorithm, type)
PayLoad (subject, name, admin)

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