{"id":93514,"date":"2025-03-13T13:23:32","date_gmt":"2025-03-13T07:53:32","guid":{"rendered":"https:\/\/cloudfoundation.com\/blog\/?p=93514"},"modified":"2025-03-13T13:51:43","modified_gmt":"2025-03-13T08:21:43","slug":"web-api-tutorial","status":"publish","type":"post","link":"https:\/\/cloudfoundation.com\/blog\/web-api-tutorial\/","title":{"rendered":"Web API Tutorial"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.9.7&#8243;][et_pb_row _builder_version=&#8221;4.9.7&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;3.25&#8243; custom_padding=&#8221;|||&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_post_title meta=&#8221;off&#8221; featured_image=&#8221;off&#8221; _builder_version=&#8221;4.9.7&#8243; title_font=&#8221;Times New Roman||||||||&#8221; title_text_align=&#8221;left&#8221; title_text_color=&#8221;#000000&#8243; title_font_size=&#8221;47&#8243; background_color=&#8221;RGBA(0,0,0,0)&#8221; background_enable_image=&#8221;off&#8221; text_orientation=&#8221;center&#8221; custom_margin=&#8221;|||10%&#8221; title_font_size_tablet=&#8221;40&#8243; title_font_size_phone=&#8221;35&#8243; title_font_size_last_edited=&#8221;on|desktop&#8221;][\/et_pb_post_title][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.9.7&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;3.25&#8243; custom_padding=&#8221;|||&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text _builder_version=&#8221;4.9.7&#8243; text_font=&#8221;Georgia||||||||&#8221; text_text_color=&#8221;#000000&#8243; text_font_size=&#8221;22px&#8221; text_line_height=&#8221;1.9em&#8221; max_width=&#8221;800px&#8221; max_width_last_edited=&#8221;off|phone&#8221; custom_margin=&#8221;|||10%&#8221; custom_margin_last_edited=&#8221;off|desktop&#8221; hover_enabled=&#8221;0&#8243; text_font_size_tablet=&#8221;&#8221; text_font_size_phone=&#8221;&#8221; text_font_size_last_edited=&#8221;on|phone&#8221; text_line_height_last_edited=&#8221;off|phone&#8221; sticky_enabled=&#8221;0&#8243;]<\/p><div id=\"ez-toc-container\" class=\"ez-toc-v2_0_80 ez-toc-wrap-center counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/cloudfoundation.com\/blog\/web-api-tutorial\/#What_is_Web_API\" >What is Web API<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/cloudfoundation.com\/blog\/web-api-tutorial\/#Web_Services\" >Web Services \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/cloudfoundation.com\/blog\/web-api-tutorial\/#Web_API_Training\" >Web API Training<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/cloudfoundation.com\/blog\/web-api-tutorial\/#HTTP_Request\" >HTTP Request<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/cloudfoundation.com\/blog\/web-api-tutorial\/#How_Web_APIs_Help_Share_Data_Across_Devices_and_Apps\" >How Web APIs Help Share Data Across Devices and Apps<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/cloudfoundation.com\/blog\/web-api-tutorial\/#What_Is_WCF\" >What Is WCF<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/cloudfoundation.com\/blog\/web-api-tutorial\/#Web_API_Online_Training\" >Web API Online Training<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/cloudfoundation.com\/blog\/web-api-tutorial\/#ASPNET_Web_API_Framework\" >ASP.NET Web API Framework<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/cloudfoundation.com\/blog\/web-api-tutorial\/#How_to_create_two_ASPNET_web_applications_using_various_application_dot_frameworks\" >How to create two ASP.NET web applications using various application dot frameworks<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/cloudfoundation.com\/blog\/web-api-tutorial\/#Web_API_Controllers_in_MVC_Applications\" >Web API Controllers in MVC Applications<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/cloudfoundation.com\/blog\/web-api-tutorial\/#Conclusion\" >Conclusion<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/cloudfoundation.com\/blog\/web-api-tutorial\/#Web_API_Course_Price\" >Web API Course Price<\/a><\/li><\/ul><\/nav><\/div>\n\n<h2><span class=\"ez-toc-section\" id=\"What_is_Web_API\"><\/span><strong>What is Web API <\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Web APIs (application programming interfaces) provide users with a set of functions hidden behind an interface and use these hidden functions to interact between applications.<\/p>\n<p>An elevator API provides this kind of interaction; when someone presses one of its buttons, their elevator goes up or down automatically before opening its door to their destination floor.<\/p>\n<p>There are various APIs, from those provided by an operating system to applications running on it.<\/p>\n<p>Web Applications (APIs) are integral parts of the internet, enabling users to interact and communicate with websites across it.<\/p>\n<p>An API travels across it all while connecting clients and servers &#8211; each client, represented by color in an API request made to a server travels along a route which connects back with them before receiving and fulfilling it.<\/p>\n<p><img decoding=\"async\" class=\"size-medium aligncenter\" src=\"http:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2025\/03\/What-is-Web-API.jpg\" alt=\"\" width=\"800\" height=\"600\" \/><\/p>\n<p>Which could range from retrieving database records all the way to posting new or removing existing ones based on requests made from clients or servers.<\/p>\n<p>The server provides different endpoints that perform various actions, such as retrieving data from databases or posting new or updating existing records to the web using HTTP protocol.<\/p>\n<p>Once an action has been performed by the server it returns its response back to its client via this web-based protocol and uses HTTP for transmission of this data back out into cyberspace.<\/p>\n<p>Web APIs serve the purpose of interconnecting software applications seamlessly, providing for efficient communications between software programs and their respective users.<\/p>\n<p>A website&#8217;s user interface (UI) may differ depending on which device it&#8217;s being viewed on, though its consistency should remain across both mobile apps and websites.<\/p>\n<p>Business logic should also be written using an accessible web API so any necessary updates to be easily made in one spot &#8211; making for an efficient maintenance experience.<\/p>\n<p>An iPhone serves as an example of a web API; its various interfaces exist on Android, Windows and Chrome platforms and offer different levels of interaction;<\/p>\n<p>Though their business logic tends to remain consistent between all three devices despite differences between interfaces in some common spots that make maintenance and understanding simpler.<\/p>\n<p>Web APIs, also referred to as RESTful web services, provide operations which can be invoked over HTTP in order to take advantage of their functionality and enhance applications&#8217; user experiences.<\/p>\n<p>Web APIs are being integrated into mobile, desktop and gaming apps utilizing them for tasks like leader board tracking, managing contacts or looking up business or recipe information.<\/p>\n<p>Web applications that leverage APIs offer dynamic placement options.<\/p>\n<p>At Microsoft, web APIs include Microsoft Graph, Azure DevOps API, Cognitive Services and PlayLab &#8211; each one providing information out of M365 accounts; Azure DevOps provides details about DevOps pipelines while Cognitive Services offers machine learning functionality.<\/p>\n<p>PlayFab provides developers with an interesting set of APIs for game development, providing features like leader board tracking, scoring and player administration.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Web_Services\"><\/span><strong>Web Services \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>As part of an effort to connect different web applications hosted on various platforms, a web service was designed using C# in.Net which uses classes called C-sharp for representing data sets, tables, and readers;<\/p>\n<p><img decoding=\"async\" class=\"size-medium aligncenter\" src=\"http:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2025\/03\/Web-Server-Web-API.jpg\" alt=\"\" width=\"800\" height=\"600\" \/><\/p>\n<p>Java doesn&#8217;t understand C-sharp classes so these would remain unusable to it.<\/p>\n<p>Java lacked knowledge about C platforms, leading to difficulty when trying to transfer data between platforms. Furthermore, C classes did not exist yet in Java&#8217;s data representation objects causing issues when communicating between web applications hosted on different platforms;<\/p>\n<p>To address this challenge a web services concept was devised as an answer.<\/p>\n<p>Web applications work through having a web server which processes requests made from browsers. Client emissions with any browser being capable of acting as web clients are also present.<\/p>\n<p>Web servers respond back to browser requests by responding back with responses that allow users to communicate among themselves and with one another.<\/p>\n<p>Communication among different web servers can often prove challenging &#8211; for instance if two servers running different applications like A.Net and Java make communication between themselves even harder to establish.<\/p>\n<p>The evolution of web services has been directly tied to browser innovation, enabling users to interact and access various web apps through these browsers like Chrome, Firefox and Safari &#8211; as these browsers play an essential role in how servers communicate between themselves.<\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row column_structure=&#8221;1_3,1_3,1_3&#8243; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; background_color=&#8221;#064399&#8243; use_background_color_gradient=&#8221;on&#8221; background_color_gradient_start=&#8221;#0095f2&#8243; background_color_gradient_end=&#8221;#7dbed8&#8243; background_color_gradient_direction=&#8221;92deg&#8221; background_color_gradient_start_position=&#8221;35%&#8221; background_color_gradient_end_position=&#8221;80%&#8221; transform_scale=&#8221;73%|62%&#8221; transform_scale_linked=&#8221;off&#8221; transform_translate=&#8221;-53px|-50px&#8221; transform_translate_linked=&#8221;off&#8221; link_option_url=&#8221;https:\/\/cloudfoundation.com\/blog\/bamboohr-training\/&#8221; link_option_url_new_window=&#8221;on&#8221;][et_pb_column type=&#8221;1_3&#8243; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221;][et_pb_image src=&#8221;https:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2023\/06\/SS_436-_Converted_-1.png&#8221; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; transform_scale=&#8221;114%|112%&#8221; transform_scale_linked=&#8221;off&#8221; transform_translate=&#8221;25px|-4px&#8221; transform_translate_linked=&#8221;off&#8221; width=&#8221;98.1%&#8221; custom_margin=&#8221;|7px|||false|false&#8221;][\/et_pb_image][\/et_pb_column][et_pb_column type=&#8221;1_3&#8243; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221;][et_pb_text _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; text_font=&#8221;Georgia|700|||||||&#8221; text_font_size=&#8221;23px&#8221; text_line_height=&#8221;1.3em&#8221; header_font=&#8221;Georgia|700|||||||&#8221; header_font_size=&#8221;21px&#8221; header_letter_spacing=&#8221;-1px&#8221; header_line_height=&#8221;2em&#8221; transform_scale=&#8221;171%|159%&#8221; transform_scale_linked=&#8221;off&#8221; transform_translate=&#8221;40px|44px&#8221; transform_translate_linked=&#8221;off&#8221; transform_origin=&#8221;70%|50%&#8221; z_index=&#8221;-161&#8243; width=&#8221;100%&#8221; custom_margin=&#8221;|-215px||||&#8221; custom_padding=&#8221;|0px||||&#8221; link_option_url=&#8221;https:\/\/cloudfoundation.com\/blog\/&#8221; link_option_url_new_window=&#8221;on&#8221; hover_enabled=&#8221;0&#8243; sticky_enabled=&#8221;0&#8243;]<\/p>\n<h2 style=\"text-align: center;\"><span class=\"ez-toc-section\" id=\"Web_API_Training\"><\/span><span style=\"color: #ffffff;\"><strong>Web API Training<\/strong><\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>[\/et_pb_text][et_pb_button button_url=&#8221;https:\/\/cloudfoundation.com\/&#8221; url_new_window=&#8221;on&#8221; button_text=&#8221;Explore Course Content&#8221; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; custom_button=&#8221;on&#8221; button_text_color=&#8221;#0C71C3&#8243; button_bg_color=&#8221;#FFFFFF&#8221; button_font=&#8221;|700|||||||&#8221; transform_translate=&#8221;64px|65px&#8221; transform_translate_linked=&#8221;off&#8221;][\/et_pb_button][\/et_pb_column][et_pb_column type=&#8221;1_3&#8243; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221;][et_pb_image src=&#8221;https:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2019\/06\/logo_resize_color.png&#8221; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; transform_translate=&#8221;-36px|0px&#8221; transform_translate_linked=&#8221;off&#8221; custom_margin=&#8221;|||178px||&#8221;][\/et_pb_image][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.9.7&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;3.25&#8243; custom_padding=&#8221;|||&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text _builder_version=&#8221;4.9.7&#8243; text_font=&#8221;Georgia||||||||&#8221; text_text_color=&#8221;#000000&#8243; text_font_size=&#8221;22px&#8221; text_line_height=&#8221;1.9em&#8221; max_width=&#8221;800px&#8221; max_width_last_edited=&#8221;off|phone&#8221; custom_margin=&#8221;|||10%&#8221; custom_margin_last_edited=&#8221;off|desktop&#8221; hover_enabled=&#8221;0&#8243; text_font_size_tablet=&#8221;&#8221; text_font_size_phone=&#8221;&#8221; text_font_size_last_edited=&#8221;on|phone&#8221; text_line_height_last_edited=&#8221;off|phone&#8221; sticky_enabled=&#8221;0&#8243;]<\/p>\n<h2><span class=\"ez-toc-section\" id=\"HTTP_Request\"><\/span><strong>HTTP Request<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The HTTP protocol is an integral component of the internet, enabling users to access web APIs over it and exchanging information via client\/server exchange protocols such as this one.<\/p>\n<p>Requests typically originate with recipients &#8211; typically web hosts themselves &#8211; typically initiating requests initiated through this client\/server protocol itself.<\/p>\n<p>It also manages user generated content such as text layout descriptions, photographs, videos scripts or subdocuments which require this protocol for creation and maintenance purposes.<\/p>\n<p>CRUD operations can be implemented using HTTP protocol with four primary HTTP methods mapped to them: get, put, post and delete.<\/p>\n<p>Get fetches resources representation at given URL while put modifies their state by changing input changes or making input modifications at given URL; post creates new resource URL and delete removes resources from given URL.<\/p>\n<p><img decoding=\"async\" class=\"size-medium aligncenter\" src=\"http:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2025\/03\/HTTP-Request-Web-API.jpg\" alt=\"\" width=\"800\" height=\"600\" \/><\/p>\n<p>Each HTTP request consists of three parts, which include: request line, headers and bodies. The request line provides instructions to clients while bodies may or may not be present depending on circumstances.<\/p>\n<p>The HTTP protocol is critical for web applications&#8217; smooth functioning as it facilitates retrieving resources such as HTML pages, documents and images as well as exchanging data between clients and servers for efficient communication between each side of a connection.<\/p>\n<p>An HTTP Request is an interactive communication between client and server that involves providing user&#8217;s name as part of query string; users familiar with URL should recognize this.<\/p>\n<p>When response comes back from API it will come with its associated status code which tells clients how successful or unsuccessful their request was.<\/p>\n<p>If all went according to plan, a status code in the 200 range will be returned; otherwise if something went awry when creating the request such as not existing paths (ie: path not found) an error code in the 400 range may occur instead.<\/p>\n<p>Error statuses 500 can also indicate something went awry with the server side data transfer; here, both formats used most are: XML and JSON &#8211; wherein XML refers to HTML with tags defined by developers while JSON uses JSON tags defining information flow between devices and servers respectively.<\/p>\n<p>Data sent over is contained within the body of an HTTP request and passed onto a server, who then parses out and returns appropriate responses.<\/p>\n<p>Clients send data over via the body of HTTP request which gets parsed out into response data by parsing out and returning appropriate replies by parsing them out using appropriate algorithms.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_Web_APIs_Help_Share_Data_Across_Devices_and_Apps\"><\/span><strong>How Web APIs Help Share Data Across Devices and Apps<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Web API is an ideal foundation for making service data available across devices and applications, and serves as an ideal platform for developing restful applications using the.<\/p>\n<p>NET framework due to its open nature; all HTTP features can be utilized without declaring specific configuration for different devices.<\/p>\n<p>Key features of web API include its use with asp.net web API platform for developing restful services, using request response (also used with ASP.NET request response pipeline mapping to method names in API)<\/p>\n<p>Various data types supported natively such as JSON-XML formats etc., native support is offered by API itself etc.<\/p>\n<p>As part of its API framework, the API framework features an HTTP client which enables clients to communicate with web API servers. Furthermore, ASP.NET MVC applications and Windows Forms Applications Console servers-side apps are supported as well as various server-side APIs.<\/p>\n<p>The various versions of API framework are tailored specifically to different applications and devices, including browser-compatibility with both mobile browsers and devices, making your data and services available across a broad spectrum of devices easily.<\/p>\n<p>Furthermore, its API also supports multiple data types including JSON XML formats that make your data easily available across devices.<\/p>\n<p><img decoding=\"async\" class=\"size-medium aligncenter\" src=\"http:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2025\/03\/What-is-WFC-Web-API.jpg\" alt=\"\" width=\"800\" height=\"600\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"What_Is_WCF\"><\/span><strong>What Is WCF<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>WCF is an agile framework with features designed to accommodate various data representation and protocol patterns, but developers must understand why each feature is essential to their development process.<\/p>\n<p>WCFs support for multiple protocols is one of their chief advantages, meaning developers need to configure each protocol, representation and protocol properly in order to use it effectively &#8211; this requires significant amounts of data and configuration work.<\/p>\n<p>Contracting tasks is another aspect of WCF that developers should keep in mind while writing code for it. Doing this often requires multiple configuration steps which may take some time before working correctly.<\/p>\n<p>Crud operation templates are indispensable tools for developers. This type of template enables one controller or endpoint that supports four types of operations (create retrieve update delete). They&#8217;re particularly handy for creating services consumed over the internet.<\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row column_structure=&#8221;1_3,1_3,1_3&#8243; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; background_color=&#8221;#064399&#8243; use_background_color_gradient=&#8221;on&#8221; background_color_gradient_start=&#8221;#ff8c7c&#8221; background_color_gradient_end=&#8221;#e5ba4e&#8221; background_color_gradient_type=&#8221;radial&#8221; background_color_gradient_direction_radial=&#8221;top left&#8221; background_color_gradient_start_position=&#8221;35%&#8221; background_color_gradient_end_position=&#8221;80%&#8221; transform_scale=&#8221;74%|69%&#8221; transform_scale_linked=&#8221;off&#8221; transform_translate=&#8221;-53px|-50px&#8221; transform_translate_linked=&#8221;off&#8221; custom_margin=&#8221;||-5px||false|false&#8221; custom_padding=&#8221;|||2px|false|false&#8221; link_option_url=&#8221;https:\/\/cloudfoundation.com\/blog\/bamboohr-training\/&#8221; link_option_url_new_window=&#8221;on&#8221;][et_pb_column type=&#8221;1_3&#8243; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221;][et_pb_image src=&#8221;https:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2023\/06\/8423118_3895895.png&#8221; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; width=&#8221;85.4%&#8221; custom_margin=&#8221;-31px||-24px||false|false&#8221; custom_padding=&#8221;|22px|0px||false|false&#8221;][\/et_pb_image][\/et_pb_column][et_pb_column type=&#8221;1_3&#8243; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221;][et_pb_text _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; text_font=&#8221;Georgia|700|||||||&#8221; text_font_size=&#8221;23px&#8221; text_line_height=&#8221;1.3em&#8221; header_font=&#8221;Georgia|700|||||||&#8221; header_font_size=&#8221;19px&#8221; header_letter_spacing=&#8221;-1px&#8221; header_line_height=&#8221;1.2em&#8221; transform_scale=&#8221;171%|159%&#8221; transform_scale_linked=&#8221;off&#8221; transform_translate=&#8221;40px|44px&#8221; transform_translate_linked=&#8221;off&#8221; transform_origin=&#8221;70%|50%&#8221; z_index=&#8221;-161&#8243; width=&#8221;100%&#8221; custom_margin=&#8221;|-215px||||&#8221; custom_padding=&#8221;|0px||||&#8221; link_option_url=&#8221;https:\/\/cloudfoundation.com\/blog\/&#8221; link_option_url_new_window=&#8221;on&#8221; hover_enabled=&#8221;0&#8243; sticky_enabled=&#8221;0&#8243;]<\/p>\n<h2 style=\"text-align: center;\"><span class=\"ez-toc-section\" id=\"Web_API_Online_Training\"><\/span><strong><span style=\"color: #000000;\">Web API Online Training<\/span><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>[\/et_pb_text][et_pb_button button_url=&#8221;https:\/\/cloudfoundation.com\/&#8221; url_new_window=&#8221;on&#8221; button_text=&#8221;Up Coming Batches&#8221; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; custom_button=&#8221;on&#8221; button_text_color=&#8221;#E09900&#8243; button_bg_color=&#8221;#FFFFFF&#8221; button_font=&#8221;|700|||||||&#8221; transform_translate=&#8221;64px|65px&#8221; transform_translate_linked=&#8221;off&#8221; background_layout=&#8221;dark&#8221;][\/et_pb_button][\/et_pb_column][et_pb_column type=&#8221;1_3&#8243; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221;][et_pb_image src=&#8221;https:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2019\/06\/logo_resize_color.png&#8221; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; transform_translate=&#8221;-36px|0px&#8221; transform_translate_linked=&#8221;off&#8221; custom_margin=&#8221;|||178px||&#8221;][\/et_pb_image][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.9.7&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;3.25&#8243; custom_padding=&#8221;|||&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text _builder_version=&#8221;4.9.7&#8243; text_font=&#8221;Georgia||||||||&#8221; text_text_color=&#8221;#000000&#8243; text_font_size=&#8221;22px&#8221; text_line_height=&#8221;1.9em&#8221; max_width=&#8221;800px&#8221; max_width_last_edited=&#8221;off|phone&#8221; custom_margin=&#8221;|||10%&#8221; custom_margin_last_edited=&#8221;off|desktop&#8221; hover_enabled=&#8221;0&#8243; text_font_size_tablet=&#8221;&#8221; text_font_size_phone=&#8221;&#8221; text_font_size_last_edited=&#8221;on|phone&#8221; text_line_height_last_edited=&#8221;off|phone&#8221; sticky_enabled=&#8221;0&#8243;]<\/p>\n<h2><span class=\"ez-toc-section\" id=\"ASPNET_Web_API_Framework\"><\/span><strong>ASP.NET Web API Framework<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The ASP.NET Web API Framework is an innovative solution for quickly creating HTTP services accessible by various clients such as browsers, mobile phones and tablets.<\/p>\n<p>As part of Windows Communication Foundation (WCF), which stands for Windows Communication; the ASP.NET Web API can easily work alongside MVC sites as well as forms.<\/p>\n<p>ASP.NET Web API is an ideal foundation for developing restful applications, offering secure, scalable communication framework with uniform programming model for service-oriented apps.<\/p>\n<p><img decoding=\"async\" class=\"size-medium aligncenter\" src=\"http:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2025\/03\/ASP.NET-Web-API-Framework-Web-API.jpg\" alt=\"\" width=\"800\" height=\"600\" \/><\/p>\n<p>Development with this framework resembles that of MVC with routing controllers, action results filters model binders IOC containers and dependency injection capabilities similar to what can be found within it.<\/p>\n<p>Asp.NET Web API is a great foundation for building restful apps, since its architecture closely mirrors that of WCF. Asp.NET Web API allows web services that can be accessed across browsers, mobile phones and tablets<\/p>\n<p>Perfect for building apps with restful architecture that are accessible across clients such as browsers.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_to_create_two_ASPNET_web_applications_using_various_application_dot_frameworks\"><\/span><strong>How to create two ASP.NET web applications using various application dot frameworks<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>As part of our activities for this class, we will create two ASP.NET web applications using various application frameworks (Visual Basic and C-Sharp), choosing C-Sharp with its latest framework.Net 4.7.2 as our preferred choice.<\/p>\n<p>From among these templates&#8211;empty, web, web forms, event-driven interaction concepts, web application and MVC&#8211;we will select one most suited to our purposes.<\/p>\n<p>Event-driven interaction concepts provide event-driven interactions in web applications; web forms send data back to servers which then respond with full mark-up pages or HTML pages with user actions sent back for processing on client side and then back out again as full mark-up pages or<\/p>\n<p>HTML pages to clients for processing by server; MVC and web forms templates can also be selected when developing applications using either MVC or web forms frameworks when building applications from scratch using MVC frameworks or web forms templates from these frameworks when developing apps using these frameworks.<\/p>\n<p>MVC applications allow us to develop applications using the Model-View-Controller architecture and web APIs are also available for this architecture.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Web_API_Controllers_in_MVC_Applications\"><\/span><strong>Web API Controllers in MVC Applications<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>MTC and web API controllers can be used to manage and control web API in an MVC app, providing control for actions performed using entity framework.<\/p>\n<p>Mandatory namespace storage for all controllers created within an entity framework project: default data controller created using namespace &#8220;namespace&#8221;, extension controller is created similarly with same name.<\/p>\n<p><img decoding=\"async\" class=\"size-medium aligncenter\" src=\"http:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2025\/03\/Web-Apis-in-MVC-Applications-Web-API.jpg\" alt=\"\" width=\"800\" height=\"600\" \/><\/p>\n<p>The default data controller outlines all properties and methods needed for an API controller; with code such as calling &#8220;my data is equal&#8221; followed by declaring random strings as data one, two and three for your API controller to function effectively.<\/p>\n<p>Code then calls the &#8220;my data is equal&#8221; method on an array of strings to declare all values as being equivalent and ensure all are considered &#8220;equal&#8221;.<\/p>\n<p>Code execution begins by adding the web API controller and &#8220;default data controller&#8221; controllers, with each serving to define properties and methods specific to an API controller.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span><strong>Conclusion<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Web APIs have quickly become an essential element in modern web development as they facilitate easy communication across software systems and allow seamless integration and interoperability among various software products.<\/p>\n<p>Web APIs facilitate interoperability across platforms and devices by offering programs an open standard to share information over the internet.<\/p>\n<p>By taking advantage of web APIs, developers may enhance functionality, user experiences and the creation of dynamic interactive apps more rapidly and cost effectively.<\/p>\n<p>With their ability to facilitate creative solutions that scale, Web APIs will become ever more essential in shaping our digital environments as technology progresses.<\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row column_structure=&#8221;1_3,1_3,1_3&#8243; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; background_color=&#8221;#064399&#8243; use_background_color_gradient=&#8221;on&#8221; background_color_gradient_start=&#8221;#494fff&#8221; background_color_gradient_end=&#8221;#9ea6ff&#8221; background_color_gradient_type=&#8221;radial&#8221; background_color_gradient_direction_radial=&#8221;top left&#8221; background_color_gradient_start_position=&#8221;35%&#8221; background_color_gradient_end_position=&#8221;80%&#8221; transform_scale=&#8221;74%|71%&#8221; transform_scale_linked=&#8221;off&#8221; transform_translate=&#8221;-53px|-50px&#8221; transform_translate_linked=&#8221;off&#8221; link_option_url=&#8221;https:\/\/cloudfoundation.com\/datorama-training\/&#8221; link_option_url_new_window=&#8221;on&#8221;][et_pb_column type=&#8221;1_3&#8243; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221;][et_pb_image src=&#8221;https:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2023\/06\/Untitled-11.png&#8221; title_text=&#8221;Untitled-11&#8243; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; transform_scale=&#8221;103%|103%&#8221; transform_scale_linked=&#8221;off&#8221; transform_translate=&#8221;11px|0px&#8221; transform_translate_linked=&#8221;off&#8221; custom_padding=&#8221;|88px||||&#8221;][\/et_pb_image][\/et_pb_column][et_pb_column type=&#8221;1_3&#8243; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221;][et_pb_text _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; text_font=&#8221;Georgia|700|||||||&#8221; text_text_color=&#8221;#FFFFFF&#8221; text_font_size=&#8221;23px&#8221; text_line_height=&#8221;1.3em&#8221; header_font=&#8221;Georgia|700|||||||&#8221; header_font_size=&#8221;19px&#8221; header_letter_spacing=&#8221;-1px&#8221; header_line_height=&#8221;1.2em&#8221; transform_scale=&#8221;171%|159%&#8221; transform_scale_linked=&#8221;off&#8221; transform_translate=&#8221;40px|44px&#8221; transform_translate_linked=&#8221;off&#8221; transform_origin=&#8221;70%|50%&#8221; z_index=&#8221;-161&#8243; width=&#8221;100%&#8221; custom_margin=&#8221;|-215px||||&#8221; custom_padding=&#8221;|0px||||&#8221; link_option_url=&#8221;https:\/\/cloudfoundation.com\/blog\/&#8221; link_option_url_new_window=&#8221;on&#8221; hover_enabled=&#8221;0&#8243; sticky_enabled=&#8221;0&#8243;]<\/p>\n<h2 style=\"text-align: center;\"><span class=\"ez-toc-section\" id=\"Web_API_Course_Price\"><\/span><span style=\"color: #ffffff;\"><strong><span style=\"color: #ffffff;\">Web API Course Price<\/span><\/strong><\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>[\/et_pb_text][et_pb_button button_url=&#8221;https:\/\/cloudfoundation.com\/&#8221; url_new_window=&#8221;on&#8221; button_text=&#8221;Offer Price&#8221; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; custom_button=&#8221;on&#8221; button_text_color=&#8221;#0C71C3&#8243; button_bg_color=&#8221;#FFFFFF&#8221; button_font=&#8221;|700|||||||&#8221; transform_translate=&#8221;64px|65px&#8221; transform_translate_linked=&#8221;off&#8221;][\/et_pb_button][\/et_pb_column][et_pb_column type=&#8221;1_3&#8243; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221;][et_pb_image src=&#8221;https:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2019\/06\/logo_resize_color.png&#8221; title_text=&#8221;logo_resize_color&#8221; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; transform_translate=&#8221;-36px|0px&#8221; transform_translate_linked=&#8221;off&#8221; custom_margin=&#8221;|||178px||&#8221;][\/et_pb_image][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.9.7&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;3.25&#8243; custom_padding=&#8221;|||&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_team_member name=&#8221;Madhavi Koppadi &#8221; position=&#8221;Author&#8221; image_url=&#8221;https:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2024\/11\/madhavi-e1732778947291.png&#8221; _builder_version=&#8221;4.9.7&#8243; header_level=&#8221;h5&#8243; header_font=&#8221;Titillium Web|700|||||||&#8221; body_font=&#8221;Titillium Web||||||||&#8221; body_font_size=&#8221;16&#8243;]<\/p>\n<h5>Bonjour. A curious dreamer enchanted by various languages, I write towards making technology seem fun here at CloudFoundation.<\/h5>\n<p>[\/et_pb_team_member][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.9.7&#8243;][et_pb_row _builder_version=&#8221;4.9.7&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;3.25&#8243; custom_padding=&#8221;|||&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_post_title meta=&#8221;off&#8221; featured_image=&#8221;off&#8221; _builder_version=&#8221;4.9.7&#8243; title_font=&#8221;Times New Roman||||||||&#8221; title_text_align=&#8221;left&#8221; title_text_color=&#8221;#000000&#8243; title_font_size=&#8221;47&#8243; background_color=&#8221;RGBA(0,0,0,0)&#8221; background_enable_image=&#8221;off&#8221; text_orientation=&#8221;center&#8221; custom_margin=&#8221;|||10%&#8221; title_font_size_tablet=&#8221;40&#8243; title_font_size_phone=&#8221;35&#8243; title_font_size_last_edited=&#8221;on|desktop&#8221;][\/et_pb_post_title][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.9.7&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;3.25&#8243; custom_padding=&#8221;|||&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text _builder_version=&#8221;4.9.7&#8243; text_font=&#8221;Georgia||||||||&#8221; text_text_color=&#8221;#000000&#8243; text_font_size=&#8221;22px&#8221; text_line_height=&#8221;1.9em&#8221; max_width=&#8221;800px&#8221; max_width_last_edited=&#8221;off|phone&#8221; custom_margin=&#8221;|||10%&#8221; custom_margin_last_edited=&#8221;off|desktop&#8221; hover_enabled=&#8221;0&#8243; text_font_size_tablet=&#8221;&#8221; text_font_size_phone=&#8221;&#8221; text_font_size_last_edited=&#8221;on|phone&#8221; text_line_height_last_edited=&#8221;off|phone&#8221; sticky_enabled=&#8221;0&#8243;] What is Web API Web [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":93537,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"on","_et_pb_old_content":"","_et_gb_content_width":"2880","footnotes":""},"categories":[1],"tags":[],"class_list":{"0":"post-93514","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-uncategorized"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Web API Tutorial<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cloudfoundation.com\/blog\/web-api-tutorial\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Web API Tutorial\" \/>\n<meta property=\"og:description\" content=\"[et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.9.7&#8243;][et_pb_row _builder_version=&#8221;4.9.7&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;3.25&#8243; custom_padding=&#8221;|||&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_post_title meta=&#8221;off&#8221; featured_image=&#8221;off&#8221; _builder_version=&#8221;4.9.7&#8243; title_font=&#8221;Times New Roman||||||||&#8221; title_text_align=&#8221;left&#8221; title_text_color=&#8221;#000000&#8243; title_font_size=&#8221;47&#8243; background_color=&#8221;RGBA(0,0,0,0)&#8221; background_enable_image=&#8221;off&#8221; text_orientation=&#8221;center&#8221; custom_margin=&#8221;|||10%&#8221; title_font_size_tablet=&#8221;40&#8243; title_font_size_phone=&#8221;35&#8243; title_font_size_last_edited=&#8221;on|desktop&#8221;][\/et_pb_post_title][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.9.7&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;3.25&#8243; custom_padding=&#8221;|||&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text _builder_version=&#8221;4.9.7&#8243; text_font=&#8221;Georgia||||||||&#8221; text_text_color=&#8221;#000000&#8243; text_font_size=&#8221;22px&#8221; text_line_height=&#8221;1.9em&#8221; max_width=&#8221;800px&#8221; max_width_last_edited=&#8221;off|phone&#8221; custom_margin=&#8221;|||10%&#8221; custom_margin_last_edited=&#8221;off|desktop&#8221; hover_enabled=&#8221;0&#8243; text_font_size_tablet=&#8221;&#8221; text_font_size_phone=&#8221;&#8221; text_font_size_last_edited=&#8221;on|phone&#8221; text_line_height_last_edited=&#8221;off|phone&#8221; sticky_enabled=&#8221;0&#8243;] What is Web API Web [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cloudfoundation.com\/blog\/web-api-tutorial\/\" \/>\n<meta property=\"og:site_name\" content=\"CloudFoundation | Blog\" \/>\n<meta property=\"article:published_time\" content=\"2025-03-13T07:53:32+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-03-13T08:21:43+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2025\/03\/Web-API.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"800\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"NAGENDRAG\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"NAGENDRAG\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"12 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Web API Tutorial","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cloudfoundation.com\/blog\/web-api-tutorial\/","og_locale":"en_US","og_type":"article","og_title":"Web API Tutorial","og_description":"[et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.9.7&#8243;][et_pb_row _builder_version=&#8221;4.9.7&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;3.25&#8243; custom_padding=&#8221;|||&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_post_title meta=&#8221;off&#8221; featured_image=&#8221;off&#8221; _builder_version=&#8221;4.9.7&#8243; title_font=&#8221;Times New Roman||||||||&#8221; title_text_align=&#8221;left&#8221; title_text_color=&#8221;#000000&#8243; title_font_size=&#8221;47&#8243; background_color=&#8221;RGBA(0,0,0,0)&#8221; background_enable_image=&#8221;off&#8221; text_orientation=&#8221;center&#8221; custom_margin=&#8221;|||10%&#8221; title_font_size_tablet=&#8221;40&#8243; title_font_size_phone=&#8221;35&#8243; title_font_size_last_edited=&#8221;on|desktop&#8221;][\/et_pb_post_title][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.9.7&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;3.25&#8243; custom_padding=&#8221;|||&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text _builder_version=&#8221;4.9.7&#8243; text_font=&#8221;Georgia||||||||&#8221; text_text_color=&#8221;#000000&#8243; text_font_size=&#8221;22px&#8221; text_line_height=&#8221;1.9em&#8221; max_width=&#8221;800px&#8221; max_width_last_edited=&#8221;off|phone&#8221; custom_margin=&#8221;|||10%&#8221; custom_margin_last_edited=&#8221;off|desktop&#8221; hover_enabled=&#8221;0&#8243; text_font_size_tablet=&#8221;&#8221; text_font_size_phone=&#8221;&#8221; text_font_size_last_edited=&#8221;on|phone&#8221; text_line_height_last_edited=&#8221;off|phone&#8221; sticky_enabled=&#8221;0&#8243;] What is Web API Web [&hellip;]","og_url":"https:\/\/cloudfoundation.com\/blog\/web-api-tutorial\/","og_site_name":"CloudFoundation | Blog","article_published_time":"2025-03-13T07:53:32+00:00","article_modified_time":"2025-03-13T08:21:43+00:00","og_image":[{"width":800,"height":600,"url":"http:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2025\/03\/Web-API.jpg","type":"image\/jpeg"}],"author":"NAGENDRAG","twitter_card":"summary_large_image","twitter_misc":{"Written by":"NAGENDRAG","Est. reading time":"12 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/cloudfoundation.com\/blog\/web-api-tutorial\/","url":"https:\/\/cloudfoundation.com\/blog\/web-api-tutorial\/","name":"Web API Tutorial","isPartOf":{"@id":"https:\/\/cloudfoundation.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/cloudfoundation.com\/blog\/web-api-tutorial\/#primaryimage"},"image":{"@id":"https:\/\/cloudfoundation.com\/blog\/web-api-tutorial\/#primaryimage"},"thumbnailUrl":"https:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2025\/03\/Web-API.jpg","datePublished":"2025-03-13T07:53:32+00:00","dateModified":"2025-03-13T08:21:43+00:00","author":{"@id":"https:\/\/cloudfoundation.com\/blog\/#\/schema\/person\/df6c7eba98f1bb15f2a100a9958266e4"},"breadcrumb":{"@id":"https:\/\/cloudfoundation.com\/blog\/web-api-tutorial\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cloudfoundation.com\/blog\/web-api-tutorial\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cloudfoundation.com\/blog\/web-api-tutorial\/#primaryimage","url":"https:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2025\/03\/Web-API.jpg","contentUrl":"https:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2025\/03\/Web-API.jpg","width":800,"height":600},{"@type":"BreadcrumbList","@id":"https:\/\/cloudfoundation.com\/blog\/web-api-tutorial\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cloudfoundation.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Web API Tutorial"}]},{"@type":"WebSite","@id":"https:\/\/cloudfoundation.com\/blog\/#website","url":"https:\/\/cloudfoundation.com\/blog\/","name":"CloudFoundation | Blog","description":"A New way of Learning","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cloudfoundation.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/cloudfoundation.com\/blog\/#\/schema\/person\/df6c7eba98f1bb15f2a100a9958266e4","name":"NAGENDRAG","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cloudfoundation.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/09e08ba1102807a876f2c00245d6b955f0a9f027b40c181e9cee0cd2d927f84a?s=96&d=wavatar&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/09e08ba1102807a876f2c00245d6b955f0a9f027b40c181e9cee0cd2d927f84a?s=96&d=wavatar&r=g","caption":"NAGENDRAG"},"url":"https:\/\/cloudfoundation.com\/blog\/author\/nagendrag\/"}]}},"_links":{"self":[{"href":"https:\/\/cloudfoundation.com\/blog\/wp-json\/wp\/v2\/posts\/93514","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cloudfoundation.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudfoundation.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudfoundation.com\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudfoundation.com\/blog\/wp-json\/wp\/v2\/comments?post=93514"}],"version-history":[{"count":11,"href":"https:\/\/cloudfoundation.com\/blog\/wp-json\/wp\/v2\/posts\/93514\/revisions"}],"predecessor-version":[{"id":93538,"href":"https:\/\/cloudfoundation.com\/blog\/wp-json\/wp\/v2\/posts\/93514\/revisions\/93538"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cloudfoundation.com\/blog\/wp-json\/wp\/v2\/media\/93537"}],"wp:attachment":[{"href":"https:\/\/cloudfoundation.com\/blog\/wp-json\/wp\/v2\/media?parent=93514"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudfoundation.com\/blog\/wp-json\/wp\/v2\/categories?post=93514"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudfoundation.com\/blog\/wp-json\/wp\/v2\/tags?post=93514"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}