External Connections

What is an API?

What is an API?

  • Acronym: Application Program Interface
  • Functions to interacts with Datas
  • SOAP, Rest, x-RPC, GraphQL...

RESTfull

  • Create
  • Read
  • Update
  • Delete

 

JSON Format

Query Format urls

http://BASE_URL/ENTITY/ENTITY_ID

  • Create Recipe: POST http://BASE_URL/recipes/ 
  • Read List: GET http://BASE_URL/recipes/ 
  • Update Recipe: PUT http://BASE_URL/recipes/ID
  • Delete Recipe: DELETE http://BASE_URL/recipes/ID

 

Recipe Details: GET http://BASE_URL/recipes/ID

External Connections

By Paolo Mosca

External Connections

  • 154