Terms Flashcards
1
Q
Idempotent
A
Making multiple identical requests has the same effect as making a single request.
2
Q
Idempotent requests
A
GET, PUT, DELETE, HEAD, OPTIONS, and TRACE
3
Q
Cross-Origin Resource Sharing (CORS)
A
- foo.com requests OPTIONS method on bar.com
- bar.com sends a header like Access-Control-Allow-Origin: http://foo.com in response to the client
- Next, foo.com can access the resources on bar.com without any restrictions that call any REST method