![]() ![]() INSERT INTO `products` (`id`, `name`, `description`, `price`, `category_id`, `created`, `modified`) VALUES After that, run the following SQL queries to create new tables with sample data. Using PhpMyAdmin, create a new api_db database. Just choose what you need to learn.īut one thing is for sure, this source code is good enough and works for our JavaScript tutorials. You don't need to learn all of it as well. REST API in our tutorialsĪ REST API is needed for our JavaScript CRUD tutorial. If data from an application can be created, read, updated, or deleted using another, it usually means a REST API is used. REST API can be used by any application connecting to the internet. This information is presented to the user instantly, primarily if you use JavaScript to render the data on a webpage. REST API is needed in many applications because this is the lightest way to create, read, update or delete information between different applications over the internet or HTTP protocol. ![]() Those "rules" can include the create, read, update and delete operations. This post is worth reading: How I Explained REST to My Wife?ĪPI stands for "Application Programming Interface." It is a set of rules that allows one software application to talk to another. A representation of a resource must be stateless. REST concepts are referred to as resources. It is a concept or architecture for managing information over the internet. REST stands for "REpresentational State Transfer". I'll do my best to explain it in simple terms because REST has a lot of concepts inside of it that could mean a lot of things. To define "REST API", we have to know what is "REST" is and what "API" first. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |