{"id":18276,"date":"2020-09-05T05:30:28","date_gmt":"2020-09-05T05:30:28","guid":{"rendered":"https:\/\/www.devopsschool.com\/blog\/?p=18276"},"modified":"2022-04-13T15:58:33","modified_gmt":"2022-04-13T15:58:33","slug":"restful-web-services-with-php-and-laravel","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/restful-web-services-with-php-and-laravel\/","title":{"rendered":"RESTful Web Services with PHP and Laravel"},"content":{"rendered":"\n<ul class=\"wp-block-list\"><li><strong>For Restful Api You must have the solid working of PHP.<br>&#8211; You must have at least PHP installed in your machine.<br>&#8211; You must have a composer installed and accessible from the terminal.<br>&#8211; You must have some understanding Laravel.<\/strong><\/li><\/ul>\n\n\n\n<p><strong>what is a Restful Api?<\/strong><\/p>\n\n\n\n<p><strong>API<\/strong> (<strong>Application Programming Interface<\/strong>) A restful <strong>API<\/strong> is an Application programming interface that uses <strong>HTTP<\/strong> requests to <strong>Get<\/strong>, <strong>Put<\/strong>, <strong>Post<\/strong>, <strong>Delete<\/strong>, etc data. A <strong>Restful API<\/strong> is also referred to as a restful web-service. The client and server are independent of each other. Architecture is an approach to communicate a used and WebServices Development. Its a requirement of the <strong>Rest API <\/strong>at the client is server is the independent of<strong> <\/strong>each other in any language.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"412\" src=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/09\/rest-api-1024x412.png\" alt=\"\" class=\"wp-image-18277\" srcset=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/09\/rest-api-1024x412.png 1024w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/09\/rest-api-300x121.png 300w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/09\/rest-api-768x309.png 768w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/09\/rest-api-1536x618.png 1536w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/09\/rest-api-2048x824.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n<div class=\"epyt-gallery\" data-currpage=\"1\" id=\"epyt_gallery_94926\"><iframe loading=\"lazy\"  id=\"_ytid_81278\"  width=\"760\" height=\"427\"  data-origwidth=\"760\" data-origheight=\"427\" src=\"https:\/\/www.youtube.com\/embed\/?enablejsapi=1&#038;autoplay=0&#038;cc_load_policy=0&#038;cc_lang_pref=&#038;iv_load_policy=1&#038;loop=0&#038;rel=1&#038;fs=1&#038;playsinline=0&#038;autohide=2&#038;theme=dark&#038;color=red&#038;controls=1&#038;disablekb=0&#038;\" class=\"__youtube_prefs__  no-lazyload\" title=\"YouTube player\"  data-epytgalleryid=\"epyt_gallery_94926\"  allow=\"fullscreen; accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen data-no-lazy=\"1\" data-skipgform_ajax_framebjll=\"\"><\/iframe><div class=\"epyt-gallery-list\"><div>Sorry, there was a YouTube error.<\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>For Restful Api You must have the solid working of PHP.&#8211; You must have at least PHP installed in your machine.&#8211; You must have a composer installed and accessible from&#8230; <\/p>\n","protected":false},"author":1,"featured_media":18282,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[2],"tags":[],"class_list":["post-18276","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorised"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/18276","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=18276"}],"version-history":[{"count":7,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/18276\/revisions"}],"predecessor-version":[{"id":24550,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/18276\/revisions\/24550"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media\/18282"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=18276"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=18276"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=18276"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}