user3902486
user3902486

Reputation: 139

i am trying to use rest api but don't understand where,why and when i should use this

What is the purpose of rest API and where it should be used how can i know that in this part of website i should use rest API any one can tell me in simple words why,where and how can in implement that technology ?

Upvotes: 1

Views: 407

Answers (1)

4rlekin
4rlekin

Reputation: 758

My answer might be not througout and lacking in precision, but it may do.

REST API means serving app (website) API through HTTP requests (mainly)
Thats simple/silly explanation.

Better one is here: What exactly is RESTful programming?

About when to use it... well.. that depends.
I guess common use case is when you want to expose some part of data/functionality of your site for third party developers. Then you may define URL under which you would return data in json or xml or....

Upvotes: 1

Related Questions