What is REST?
Client sends a request to the server witch responds with a representation of required informational Object.This respond usually formatted in JSON or XML.
A RESTful service normally provides two
components in its responses, the response body itself and a status code.Most of the REST servers allow users to specify a response format by sending ACCEPT parameter or by specifying a file extension.Others have hard-coded response formats.
Security Aspects
By Accepting certain data type,certain length and validating each request.
Authenticating/Authorizing requests : by making developers to register for a API key and validate key against the stored key for that particular developer.
by having quotas and data limits
finally by using SSL to encrypt communication.
No comments:
Post a Comment