<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>API Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/api/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/api/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Sat, 21 Feb 2026 07:13:27 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>CodeIgniter: Lightweight PHP Framework for Rapid Web Development</title>
		<link>https://www.scmgalaxy.com/tutorials/codeigniter-lightweight-php-framework-for-rapid-web-development/</link>
					<comments>https://www.scmgalaxy.com/tutorials/codeigniter-lightweight-php-framework-for-rapid-web-development/#respond</comments>
		
		<dc:creator><![CDATA[Vijay K]]></dc:creator>
		<pubDate>Fri, 16 May 2025 07:01:32 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[CodeIgniter]]></category>
		<category><![CDATA[mvc]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[PHPFramework]]></category>
		<category><![CDATA[RapidDevelopment]]></category>
		<category><![CDATA[WebDevelopment]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=12330</guid>

					<description><![CDATA[<p>What is CodeIgniter? CodeIgniter is a powerful, lightweight, and open-source PHP framework designed to build dynamic web applications rapidly and [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/codeigniter-lightweight-php-framework-for-rapid-web-development/">CodeIgniter: Lightweight PHP Framework for Rapid Web Development</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-image size-full is-resized"><img fetchpriority="high" decoding="async" width="800" height="400" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/05/image-58.png" alt="" class="wp-image-12337" style="width:838px;height:auto" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/05/image-58.png 800w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/05/image-58-300x150.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/05/image-58-768x384.png 768w" sizes="(max-width: 800px) 100vw, 800px" /></figure>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h2 class="wp-block-heading">What is CodeIgniter?</h2>



<p class="wp-block-paragraph">CodeIgniter is a powerful, lightweight, and open-source PHP framework designed to build dynamic web applications rapidly and efficiently. It follows the Model-View-Controller (MVC) architectural pattern, promoting a clean separation of concerns, modular coding, and ease of maintenance.</p>



<p class="wp-block-paragraph">Originally released in 2006, CodeIgniter is renowned for its simplicity, speed, and small footprint compared to other PHP frameworks. It offers a rich set of libraries, helpers, and tools that streamline common web development tasks such as database interaction, session management, form validation, and URL routing without imposing heavy requirements or dependencies.</p>



<p class="wp-block-paragraph">Developers appreciate CodeIgniter for its straightforward setup, clear documentation, and excellent performance, making it especially suitable for small to medium-sized projects or developers seeking a fast development cycle without sacrificing flexibility.</p>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h2 class="wp-block-heading">What are the Major Use Cases of CodeIgniter?</h2>



<p class="wp-block-paragraph">CodeIgniter’s versatility and efficiency make it suitable for a variety of web application development scenarios:</p>



<h3 class="wp-block-heading">1. Rapid Prototyping</h3>



<p class="wp-block-paragraph">Developers use CodeIgniter to quickly create functional prototypes and proof-of-concept applications due to its lightweight nature and minimal configuration.</p>



<h3 class="wp-block-heading">2. Small to Medium Enterprise Applications</h3>



<p class="wp-block-paragraph">CodeIgniter is well-suited for business websites, portals, and internal systems where fast development and straightforward architecture are desired.</p>



<h3 class="wp-block-heading">3. Content Management Systems (CMS)</h3>



<p class="wp-block-paragraph">Many developers build custom CMS platforms or extend existing ones using CodeIgniter because of its modular design and ease of integration.</p>



<h3 class="wp-block-heading">4. RESTful API Development</h3>



<p class="wp-block-paragraph">With built-in support for URL routing and easy JSON/XML handling, CodeIgniter is commonly used to develop APIs for mobile and web clients.</p>



<h3 class="wp-block-heading">5. E-commerce Applications</h3>



<p class="wp-block-paragraph">CodeIgniter provides a stable foundation for developing e-commerce solutions that require efficient database interaction and session management.</p>



<h3 class="wp-block-heading">6. Educational Projects and Learning PHP Frameworks</h3>



<p class="wp-block-paragraph">Due to its simple structure and clear codebase, CodeIgniter is often recommended for beginners learning MVC frameworks in PHP.</p>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h2 class="wp-block-heading">How CodeIgniter Works Along with Architecture?</h2>



<figure class="wp-block-image size-full is-resized"><img decoding="async" width="600" height="296" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/05/image-59.png" alt="" class="wp-image-12338" style="width:835px;height:auto" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/05/image-59.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/05/image-59-300x148.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></figure>



<p class="wp-block-paragraph">At its core, CodeIgniter employs the <strong>Model-View-Controller (MVC)</strong> architecture which organizes application logic into three interconnected components:</p>



<h3 class="wp-block-heading">1. Model</h3>



<p class="wp-block-paragraph">The model handles data management, including database queries, business logic, and data validation. It interacts directly with the database to retrieve, insert, update, or delete data.</p>



<h3 class="wp-block-heading">2. View</h3>



<p class="wp-block-paragraph">The view manages the presentation layer, generating HTML or other output formats sent to the client’s browser. Views are responsible for displaying data but contain minimal logic.</p>



<h3 class="wp-block-heading">3. Controller</h3>



<p class="wp-block-paragraph">The controller acts as the intermediary, receiving input (typically from HTTP requests), processing it (including calling models), and loading appropriate views to render the response.</p>



<h3 class="wp-block-heading">Core Request Flow in CodeIgniter</h3>



<ol class="wp-block-list">
<li><strong>Routing:</strong> Incoming HTTP requests are parsed by the Router class, which determines which controller and method should handle the request based on URL patterns.</li>



<li><strong>Controller Initialization:</strong> The controller is instantiated, and the requested method is invoked.</li>



<li><strong>Model Interaction:</strong> The controller calls the necessary model functions to process or fetch data.</li>



<li><strong>View Rendering:</strong> The controller loads the view, passing the data to be displayed.</li>



<li><strong>Output Delivery:</strong> The rendered content is sent to the browser as an HTTP response.</li>
</ol>



<h3 class="wp-block-heading">Additional Architectural Elements</h3>



<ul class="wp-block-list">
<li><strong>Helpers and Libraries:</strong> Reusable components provide common functionalities such as form handling, email sending, sessions, and security.</li>



<li><strong>Hooks:</strong> Allow execution of custom scripts at specific points during request processing for advanced customization.</li>



<li><strong>Caching and Security:</strong> Built-in caching mechanisms enhance performance, while security features protect against SQL injection, XSS, and CSRF attacks.</li>
</ul>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h2 class="wp-block-heading">What is the Basic Workflow of CodeIgniter?</h2>



<p class="wp-block-paragraph">The typical development and execution workflow in CodeIgniter includes:</p>



<h3 class="wp-block-heading">1. Setup and Configuration</h3>



<p class="wp-block-paragraph">Install CodeIgniter framework files and configure base URL, database connection, and routing rules.</p>



<h3 class="wp-block-heading">2. Define Routes</h3>



<p class="wp-block-paragraph">Map URLs to controller functions using routing configuration files or rely on default URL-to-controller mapping.</p>



<h3 class="wp-block-heading">3. Create Controllers</h3>



<p class="wp-block-paragraph">Develop controller classes and methods to handle incoming requests, process business logic, and coordinate model and view interactions.</p>



<h3 class="wp-block-heading">4. Build Models</h3>



<p class="wp-block-paragraph">Write model classes to encapsulate database operations and data processing logic.</p>



<h3 class="wp-block-heading">5. Design Views</h3>



<p class="wp-block-paragraph">Create view files containing HTML and embedded PHP to display data to users, keeping presentation separate from logic.</p>



<h3 class="wp-block-heading">6. Test and Debug</h3>



<p class="wp-block-paragraph">Run the application, test routes, validate data handling, and debug using CodeIgniter’s error logging and profiling tools.</p>



<h3 class="wp-block-heading">7. Deploy and Maintain</h3>



<p class="wp-block-paragraph">Deploy the application to a web server and maintain by updating code, handling database migrations, and applying security patches.</p>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h2 class="wp-block-heading">Step-by-Step Getting Started Guide for CodeIgniter</h2>



<h3 class="wp-block-heading">Step 1: Download and Install CodeIgniter</h3>



<p class="wp-block-paragraph">Download the latest version from the <a href="https://codeigniter.com/">official CodeIgniter website</a> or install via Composer:</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
composer create-project codeigniter4/appstarter my_project

</pre></div>


<h3 class="wp-block-heading">Step 2: Configure Base URL and Database</h3>



<p class="wp-block-paragraph">Set your application’s base URL in <code>app/Config/App.php</code> and configure your database credentials in <code>app/Config/Database.php</code>.</p>



<h3 class="wp-block-heading">Step 3: Create Your First Controller</h3>



<p class="wp-block-paragraph">In <code>app/Controllers/</code>, create a PHP file:</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
&amp;lt;?php namespace AppControllers;

class Home extends BaseController {
    public function index() {
        return view(&#039;welcome_message&#039;);
    }
}

</pre></div>


<h3 class="wp-block-heading">Step 4: Define Routes</h3>



<p class="wp-block-paragraph">Edit <code>app/Config/Routes.php</code> to map URLs:</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
$routes-&amp;gt;get(&#039;/&#039;, &#039;Home::index&#039;);

</pre></div>


<h3 class="wp-block-heading">Step 5: Create Views</h3>



<p class="wp-block-paragraph">In <code>app/Views/</code>, create a view file <code>welcome_message.php</code> with HTML content.</p>



<h3 class="wp-block-heading">Step 6: Run Your Application</h3>



<p class="wp-block-paragraph">Use PHP’s built-in server for testing:</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
php spark serve

</pre></div>


<p class="wp-block-paragraph">Visit <code>http://localhost:8080</code> in your browser.</p>



<h3 class="wp-block-heading">Step 7: Build Models and Expand</h3>



<p class="wp-block-paragraph">Create model classes in <code>app/Models/</code> and start interacting with the database using CodeIgniter’s query builder or raw SQL.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/codeigniter-lightweight-php-framework-for-rapid-web-development/">CodeIgniter: Lightweight PHP Framework for Rapid Web Development</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/codeigniter-lightweight-php-framework-for-rapid-web-development/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Top 21 Tools for API Testing Tools in 2026</title>
		<link>https://www.scmgalaxy.com/tutorials/top-21-tools-for-api-testing-tools-in-2025/</link>
					<comments>https://www.scmgalaxy.com/tutorials/top-21-tools-for-api-testing-tools-in-2025/#respond</comments>
		
		<dc:creator><![CDATA[Vijay K]]></dc:creator>
		<pubDate>Tue, 11 Feb 2025 12:37:39 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[2025]]></category>
		<category><![CDATA[21]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[Testing]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Top]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=11870</guid>

					<description><![CDATA[<p>API testing is a critical aspect of software development that ensures APIs function correctly, handle requests and responses properly, and [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/top-21-tools-for-api-testing-tools-in-2025/">Top 21 Tools for API Testing Tools in 2026</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="466" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/02/image-20-1024x466.png" alt="" class="wp-image-11871" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/02/image-20-1024x466.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/02/image-20-300x136.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/02/image-20-768x349.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/02/image-20.png 1401w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">API testing is a critical aspect of software development that ensures APIs function correctly, handle requests and responses properly, and meet performance expectations. With the growing importance of APIs in modern applications, choosing the right API testing tool is essential. Here are the top 21 API testing tools, each with its own strengths and major features.</p>



<h2 class="wp-block-heading"><strong>1. Postman</strong></h2>



<p class="wp-block-paragraph">Postman is one of the most popular API testing tools, offering a user-friendly interface and powerful automation features. It supports REST, SOAP, and GraphQL APIs, allowing developers to easily create, test, and debug APIs. With JavaScript scripting, automated testing, CI/CD integrations, and API monitoring, Postman is widely used by both individuals and teams.</p>



<h2 class="wp-block-heading"><strong>2. SoapUI</strong></h2>



<p class="wp-block-paragraph">SoapUI is a comprehensive open-source API testing tool specifically designed for testing SOAP and REST APIs. It enables functional, load, and security testing with an easy-to-use interface and supports Groovy scripting for automation. SoapUI is highly beneficial for teams that require detailed API test management, mocking capabilities, and advanced reporting.</p>



<h2 class="wp-block-heading"><strong>3. Katalon Studio</strong></h2>



<p class="wp-block-paragraph">Katalon Studio is an all-in-one API testing solution that supports REST, SOAP, and GraphQL APIs. It offers a built-in test automation framework, data-driven testing, and CI/CD integrations, making it a great choice for both beginners and experienced testers. With parallel execution and support for cloud-based testing, Katalon Studio ensures efficient API validation.</p>



<h2 class="wp-block-heading"><strong>4. JMeter</strong></h2>



<p class="wp-block-paragraph">JMeter, primarily known for performance testing, also supports API testing, allowing users to simulate multiple concurrent API requests. It can test REST, SOAP, and GraphQL APIs while providing detailed performance reports. Its scripting capabilities with Groovy and seamless CI/CD integration make it a preferred choice for large-scale API performance testing.</p>



<h2 class="wp-block-heading"><strong>5. Rest Assured</strong></h2>



<p class="wp-block-paragraph">Rest Assured is a Java-based API testing tool built specifically for REST API automation. It integrates well with TestNG and JUnit frameworks, enabling developers to create automated tests with minimal coding effort. It also supports JSON and XML validation, simplifying API request and response verification for Java developers.</p>



<h2 class="wp-block-heading"><strong>6. Karate</strong></h2>



<p class="wp-block-paragraph">Karate is a BDD-based API testing framework that offers a simple syntax for writing API tests. It provides built-in support for HTTP requests, JSON/XML validation, API mocking, and parallel execution. With its integration capabilities in CI/CD pipelines, Karate is an excellent tool for teams adopting behavior-driven development in API testing.</p>



<h2 class="wp-block-heading"><strong>7. Cypress</strong></h2>



<p class="wp-block-paragraph">Cypress is a modern JavaScript-based end-to-end testing tool that also supports API testing. It provides real-time debugging, automatic retries, and built-in parallelization, making API validation easier. Cypress is widely used for testing APIs in combination with frontend and UI testing, ensuring seamless application workflows.</p>



<h2 class="wp-block-heading"><strong>8. Tricentis Tosca</strong></h2>



<p class="wp-block-paragraph">Tricentis Tosca is an enterprise-grade test automation tool that simplifies API testing through a no-code model-based approach. It supports REST and SOAP API testing, API virtualization, and CI/CD integration, making it a preferred choice for enterprises looking to automate large-scale API testing without complex scripting.</p>



<h2 class="wp-block-heading"><strong>9. Apigee</strong></h2>



<p class="wp-block-paragraph">Apigee, a Google Cloud API management platform, includes powerful API testing and monitoring features. It allows developers to track API performance, enforce security policies, and automate API lifecycle management. Apigee is ideal for organizations that require API governance, analytics, and API traffic control.</p>



<h2 class="wp-block-heading"><strong>10. ReadyAPI</strong></h2>



<p class="wp-block-paragraph">ReadyAPI by SmartBear is a premium API testing tool that offers functional, security, and load testing for REST, SOAP, and microservices APIs. With built-in API virtualization, CI/CD pipeline support, and advanced reporting features, ReadyAPI is highly effective for teams requiring an all-in-one enterprise testing solution.</p>



<h2 class="wp-block-heading"><strong>11. Assertible</strong></h2>



<p class="wp-block-paragraph">Assertible is an automated API testing and monitoring tool that integrates seamlessly with CI/CD workflows. It provides continuous API monitoring, failure detection, and JSON schema validation. Assertible is particularly useful for teams that want reliable API quality assurance with deployment alerts and GitHub integration.</p>



<h2 class="wp-block-heading"><strong>12. API Fortress</strong></h2>



<p class="wp-block-paragraph">API Fortress is a comprehensive testing tool designed for continuous API testing. It supports functional, performance, and security testing while offering cloud-based or on-premise deployment. With CI/CD integration, API monitoring, and advanced analytics, API Fortress helps teams maintain API reliability.</p>



<h2 class="wp-block-heading"><strong>13. RapidAPI Testing</strong></h2>



<p class="wp-block-paragraph">RapidAPI Testing is a cloud-based API testing platform that offers no-code test creation, real-time API monitoring, and collaboration features. It supports REST, SOAP, and GraphQL APIs, making it a convenient choice for teams that need flexible API testing with automated execution.</p>



<h2 class="wp-block-heading"><strong>14. RestConsole</strong></h2>



<p class="wp-block-paragraph">RestConsole is a lightweight Chrome extension for quick API testing. It supports authentication methods such as OAuth and Basic Auth, allowing developers to easily test API requests without additional software installations. It’s an excellent option for developers who need a simple, browser-based API testing tool.</p>



<h2 class="wp-block-heading"><strong>15. Hoppscotch</strong></h2>



<p class="wp-block-paragraph">Hoppscotch is an open-source API testing tool with a modern interface that supports REST, GraphQL, and WebSocket APIs. It provides features like real-time response previews, code snippet generation, and team collaboration. Hoppscotch is great for developers looking for a fast and efficient API testing experience.</p>



<h2 class="wp-block-heading"><strong>16. Dredd</strong></h2>



<p class="wp-block-paragraph">Dredd is a command-line tool designed for API contract testing. It validates API documentation against actual implementation, ensuring that API specifications are followed correctly. With support for OpenAPI and Swagger, Dredd is ideal for teams focusing on API-first development.</p>



<h2 class="wp-block-heading"><strong>17. Pact</strong></h2>



<p class="wp-block-paragraph">Pact is a consumer-driven contract testing tool that ensures APIs remain backward compatible. It allows API consumers and providers to collaborate on defining API contracts, reducing integration issues. Pact is especially beneficial for microservices testing, where maintaining API consistency is critical.</p>



<h2 class="wp-block-heading"><strong>18. Taurus</strong></h2>



<p class="wp-block-paragraph">Taurus is an open-source test automation tool that supports API performance testing. It simplifies test scripting using YAML and integrates with tools like JMeter, Selenium, and Gatling. Taurus is ideal for teams that need API load testing capabilities integrated into CI/CD workflows.</p>



<h2 class="wp-block-heading"><strong>19. Insomnia</strong></h2>



<p class="wp-block-paragraph">Insomnia is an open-source API client that provides an intuitive interface for testing and debugging REST, GraphQL, and gRPC APIs. It supports authentication mechanisms, environment variable management, and automated testing with JavaScript. Insomnia is a great alternative to Postman for developers who prefer a clean and lightweight API testing tool.</p>



<h2 class="wp-block-heading"><strong>20. TestNG</strong></h2>



<p class="wp-block-paragraph">TestNG is a Java-based testing framework that can be used for API testing in combination with Rest Assured. It supports parallel execution, data-driven testing, and advanced reporting features, making it an excellent choice for developers working on enterprise-level API automation.</p>



<h2 class="wp-block-heading"><strong>21. MicroFocus UFT One</strong></h2>



<p class="wp-block-paragraph">MicroFocus UFT One is a premium enterprise testing solution that includes powerful API testing capabilities. It supports SOAP and REST API testing, AI-driven validation, and CI/CD integrations. With comprehensive test management features, UFT One is ideal for large-scale organizations requiring robust test automation.</p>



<hr class="wp-block-separator has-alpha-channel-opacity">



<p class="wp-block-paragraph">These top 21 API testing tools offer a wide range of functionalities, from basic API request validation to automated functional, security, and performance testing. Whether you need an open-source, enterprise-grade, or lightweight API testing tool, this list provides options for every requirement. Selecting the right tool depends on your specific project needs, team expertise, and integration requirements. <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f680.png" alt="🚀" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/top-21-tools-for-api-testing-tools-in-2025/">Top 21 Tools for API Testing Tools in 2026</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/top-21-tools-for-api-testing-tools-in-2025/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to create manual pagination with search filter in Laravel API?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-create-manual-pagination-with-search-filter-in-laravel-api/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-create-manual-pagination-with-search-filter-in-laravel-api/#respond</comments>
		
		<dc:creator><![CDATA[rajeshkumar]]></dc:creator>
		<pubDate>Wed, 07 Jul 2021 04:36:42 +0000</pubDate>
				<category><![CDATA[Laravel]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[laravel]]></category>
		<category><![CDATA[manual filter]]></category>
		<category><![CDATA[microservice]]></category>
		<category><![CDATA[pagination]]></category>
		<category><![CDATA[search filter]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=6683</guid>

					<description><![CDATA[<p>When you are using To Laravel Project with Connect to Api. Then pagination and search filter (laravel default) will not [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-create-manual-pagination-with-search-filter-in-laravel-api/">How to create manual pagination with search filter in Laravel API?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<pre id="tw-target-text" class="wp-block-preformatted">When you are using To Laravel Project with Connect to Api. Then pagination and search filter (laravel default) will not work in this process. So, you can use DataTable or Manual. So in this blog I am using manual.
</pre>



<script src="https://gist.github.com/ajcotocus/a005126ec94376107358549df88ac4ed.js"></script>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="87" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/07/search-filter-1024x87.png" alt="" class="wp-image-6695" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/07/search-filter-1024x87.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/07/search-filter-300x26.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/07/search-filter-768x65.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/07/search-filter.png 1199w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><strong>This is a Search Input filter</strong></p>





<script src="https://gist.github.com/ajcotocus/8e2dff2377b3229e971d4282e9af5ae4.js"></script>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="348" height="121" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/07/pagination-filter.png" alt="" class="wp-image-6696" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/07/pagination-filter.png 348w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/07/pagination-filter-300x104.png 300w" sizes="auto, (max-width: 348px) 100vw, 348px" /></figure>



<p class="wp-block-paragraph"><strong>This is Pagination</strong></p>



<script src="https://gist.github.com/ajcotocus/d464fcca51defe7b16b5901224ee4e00.js"></script>



<p class="wp-block-paragraph"><strong>This is Js in script tag</strong></p>



<script src="https://gist.github.com/ajcotocus/33a78f4cbfabc74c1c32a7a7662ba38f.js"></script>



<p class="wp-block-paragraph">This is First Laravel Project Controller Function for sending requests for pagination and Search Filter.</p>



<script src="https://gist.github.com/ajcotocus/e3d4c454960e0e86d6e77f221bfaf7e3.js"></script>



<p class="wp-block-paragraph">This is Second Project Controller Function for pagination and search filter.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="709" height="900" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/07/search-filter-output-2.png" alt="" class="wp-image-6697" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/07/search-filter-output-2.png 709w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/07/search-filter-output-2-236x300.png 236w" sizes="auto, (max-width: 709px) 100vw, 709px" /></figure>



<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph"></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-create-manual-pagination-with-search-filter-in-laravel-api/">How to create manual pagination with search filter in Laravel API?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-to-create-manual-pagination-with-search-filter-in-laravel-api/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to use JQuery AJAX Method to Call an API?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-use-jquery-ajax-method-to-call-an-api/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-use-jquery-ajax-method-to-call-an-api/#respond</comments>
		
		<dc:creator><![CDATA[rajeshkumar]]></dc:creator>
		<pubDate>Tue, 29 Jun 2021 04:46:58 +0000</pubDate>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[JSON]]></category>
		<category><![CDATA[xml]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=6580</guid>

					<description><![CDATA[<p>In&#160;this&#160;blog&#160;in&#160;am&#160;going&#160;to&#160;explain&#160;that&#160;How&#160;to&#160;use&#160;JQuery&#160;AJAX&#160;Method&#160;to&#160;Call&#160;an&#160;API&#160;for&#160;to&#160;load&#160;data&#160;from&#160;external&#160;website&#160;or&#160;external&#160;File&#160;of&#160;etc,&#160;by&#160;calling&#160;APIs,&#160;and&#160;get&#160;the&#160;response&#160;in&#160;JSON&#160;or&#160;XML&#160;formats. So&#160;first&#160;thing&#160;I&#160;am&#160;going&#160;to&#160;create&#160;a&#160;html&#160;file&#160;and&#160;import&#160;jquery&#160;cdn.&#160;If&#160;you&#160;want&#160;to&#160;bootstrap&#160;css,&#160;&#38;&#160;js&#160;cdn&#160;the&#160;you&#160;can&#160;copy&#160;from&#160;this&#160;link Click Here as&#160;below- In&#160;this&#160;code&#160;I&#160;am&#160;using&#160;bootstrap&#160;cdn&#160;with&#160;jQuery&#160;cdn&#160;after&#160;that&#160;a&#160;Script&#160;tag&#160;in&#160;this&#160;script&#160;tag&#160;ajax&#160;function&#160;call&#160;with&#160;json&#160;data&#160;for&#160;getting&#160;data&#160;showing&#160;in&#160;cosole.log.&#160;If&#160;you&#160;using&#160;first&#160;time&#160;jQuery&#160;then&#160;you&#160;can&#160;right&#160;button&#160;of&#160;mouse&#160;and&#160;select&#160;inspect&#160;(Ctrl+shift+i)&#160;after&#160;that&#160;showing&#160;below&#160;tab&#160;then&#160;select&#160;console&#160;tab.&#160;When&#160;you&#160;click&#160;Here&#160;button&#160;from&#160;document&#160;then&#160;showing&#160;all&#160;data&#160;which&#160;retrieve.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-use-jquery-ajax-method-to-call-an-api/">How to use JQuery AJAX Method to Call an API?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">In&nbsp;this&nbsp;blog&nbsp;in&nbsp;am&nbsp;going&nbsp;to&nbsp;explain&nbsp;that&nbsp;How&nbsp;to&nbsp;use&nbsp;JQuery&nbsp;AJAX&nbsp;Method&nbsp;to&nbsp;Call&nbsp;an&nbsp;API&nbsp;for&nbsp;to&nbsp;load&nbsp;data&nbsp;from&nbsp;external&nbsp;website&nbsp;or&nbsp;external&nbsp;File&nbsp;of&nbsp;etc,&nbsp;by&nbsp;calling&nbsp;APIs,&nbsp;and&nbsp;get&nbsp;the&nbsp;response&nbsp;in&nbsp;JSON&nbsp;or&nbsp;XML&nbsp;formats. So&nbsp;first&nbsp;thing&nbsp;I&nbsp;am&nbsp;going&nbsp;to&nbsp;create&nbsp;a&nbsp;html&nbsp;file&nbsp;and&nbsp;import&nbsp;jquery&nbsp;cdn.&nbsp;If&nbsp;you&nbsp;want&nbsp;to&nbsp;bootstrap&nbsp;css,&nbsp;&amp;&nbsp;js&nbsp;cdn&nbsp;the&nbsp;you&nbsp;can&nbsp;copy&nbsp;from&nbsp;this&nbsp;link <a rel="noreferrer noopener" href="https://getbootstrap.com/docs/4.6/getting-started/introduction/" data-type="URL" data-id="https://getbootstrap.com/docs/4.6/getting-started/introduction/" target="_blank">Click Here</a> as&nbsp;below-</p>



<script src="https://gist.github.com/ajcotocus/5c12c0abb50fa54ae9ba9b2ea64e16e8.js"></script>



<p class="wp-block-paragraph">In&nbsp;this&nbsp;code&nbsp;I&nbsp;am&nbsp;using&nbsp;bootstrap&nbsp;cdn&nbsp;with&nbsp;jQuery&nbsp;cdn&nbsp;after&nbsp;that&nbsp;a&nbsp;Script&nbsp;tag&nbsp;in&nbsp;this&nbsp;script&nbsp;tag&nbsp;ajax&nbsp;function&nbsp;call&nbsp;with&nbsp;json&nbsp;data&nbsp;for&nbsp;getting&nbsp;data&nbsp;showing&nbsp;in&nbsp;cosole.log.&nbsp;If&nbsp;you&nbsp;using&nbsp;first&nbsp;time&nbsp;jQuery&nbsp;then&nbsp;you&nbsp;can&nbsp;right&nbsp;button&nbsp;of&nbsp;mouse&nbsp;and&nbsp;select&nbsp;inspect&nbsp;(Ctrl+shift+i)&nbsp;after&nbsp;that&nbsp;showing&nbsp;below&nbsp;tab&nbsp;then&nbsp;select&nbsp;console&nbsp;tab.&nbsp;When&nbsp;you&nbsp;click&nbsp;Here&nbsp;button&nbsp;from&nbsp;document&nbsp;then&nbsp;showing&nbsp;all&nbsp;data&nbsp;which&nbsp;retrieve.</p>



<p class="wp-block-paragraph"></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="139" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/06/inspect-for-console-1024x139.png" alt="" class="wp-image-6584" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/06/inspect-for-console-1024x139.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/06/inspect-for-console-300x41.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/06/inspect-for-console-768x104.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/06/inspect-for-console-1536x209.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/06/inspect-for-console.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="527" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/06/console-data-in-ajax-1024x527.png" alt="" class="wp-image-6585" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/06/console-data-in-ajax-1024x527.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/06/console-data-in-ajax-300x154.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/06/console-data-in-ajax-768x395.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/06/console-data-in-ajax-1536x790.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/06/console-data-in-ajax.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-use-jquery-ajax-method-to-call-an-api/">How to use JQuery AJAX Method to Call an API?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-to-use-jquery-ajax-method-to-call-an-api/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>HOW TO CREATE API IN LARAVEL</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-create-api-in-laravel/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-create-api-in-laravel/#respond</comments>
		
		<dc:creator><![CDATA[shashank K]]></dc:creator>
		<pubDate>Sat, 20 Mar 2021 12:46:15 +0000</pubDate>
				<category><![CDATA[Laravel]]></category>
		<category><![CDATA[Websites]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[laravel]]></category>
		<category><![CDATA[passport]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=5700</guid>

					<description><![CDATA[<p>1st step:- open command prompt and go to xampp\htdocs folder and write the code given below in command prompt to [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-create-api-in-laravel/">HOW TO CREATE API IN LARAVEL</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"><strong><em>1<sup>st</sup> step:-</em></strong><em> open command prompt and go to <strong>xampp\htdocs</strong> folder and write the code given below in command prompt to create the project</em></p>



<p class="wp-block-paragraph"><em><span class="has-inline-color has-vivid-red-color">Composer create-project –prefer-dist laravel/laravel admin “5.5.*”</span></em></p>



<p class="wp-block-paragraph"><strong><em>2<sup>nd</sup> step:-</em></strong><em>now go to the project folder and make auth. Code is given below</em></p>



<p class="wp-block-paragraph"><em>              <span class="has-inline-color has-vivid-red-color"> php artisan make:auth</span></em></p>



<p class="wp-block-paragraph"><strong><em>3<sup>rd</sup> step:-</em></strong><em> Now install the passport. Write the code given below in command prompt.</em></p>



<p class="wp-block-paragraph"><em>  <span class="has-inline-color has-vivid-red-color">  Composer required laravel/passport</span></em></p>



<p class="wp-block-paragraph"><strong><em>4<sup>th</sup> step:-</em></strong><em>open <strong>phpmyadmin</strong> and make a database.</em></p>



<p class="wp-block-paragraph"><strong><em>5<sup>th</sup> step:-</em></strong><em> open .<strong>env file</strong> and configure the database.</em></p>



<p class="wp-block-paragraph"><strong><em>6<sup>th</sup> step:-</em></strong><em> Now migrate the database. Write the code given below in the command prompt</em></p>



<p class="wp-block-paragraph"><em>               <span class="has-inline-color has-vivid-red-color">php artisan migrate</span></em></p>



<p class="wp-block-paragraph"><strong><em>7<sup>th</sup> step:-</em></strong><em>Add the code given below in user model.</em></p>



<p class="wp-block-paragraph"><em>   <span class="has-inline-color has-vivid-red-color">    use Laravel\Passport\HasApiTokens;</span></em></p>



<p class="wp-block-paragraph"><strong><em>8<sup>th</sup> step:-</em></strong><em> Add the code given below in auth service proviser<strong>(C:\xampp\htdocs\ admin\Providers\AuthorServiceProvider.php)</strong></em></p>



<p class="wp-block-paragraph"><em><span class="has-inline-color has-vivid-red-color">      use Laravel\Passport\Passport;</span></em></p>



<p class="wp-block-paragraph"><strong><em>9<sup>th</sup> step:-</em></strong><em> Now configure auth.php<strong>(C:\xampp\htdocs\admin\config\auth.php)</strong></em></p>



<p class="wp-block-paragraph"><em>Change the driver and provider as given below in api:-</em></p>



<p class="wp-block-paragraph"><em><span class="has-inline-color has-vivid-red-color">‘api’=>[</span></em></p>



<p class="wp-block-paragraph"><em><span class="has-inline-color has-vivid-red-color">‘driver’=>’passport’,</span></em></p>



<p class="wp-block-paragraph"><em><span class="has-inline-color has-vivid-red-color">‘provider’=>’users’</span></em></p>



<p class="wp-block-paragraph"><em><span class="has-inline-color has-vivid-red-color">],</span></em></p>



<p class="wp-block-paragraph"><strong><em>10<sup>th</sup> step:-</em></strong><em> Add the code given below in kernel.php. <strong>(C:\xampp\htdocs\ admin\app\Http\Kernal.php)</strong></em></p>



<p class="wp-block-paragraph"><em><span class="has-inline-color has-vivid-red-color">Protected $routeMiddleware=[</span></em></p>



<p class="wp-block-paragraph"><em><span class="has-inline-color has-vivid-red-color">‘client’_credentials’=>\Laravel\Passport\Http\Middleware\CheckClientcredentials::class,</span></em></p>



<p class="wp-block-paragraph"><strong><em>11<sup>th</sup> step:-</em></strong><em>Add the code given below in <strong>app.php(config\app.php)</strong></em></p>



<p class="wp-block-paragraph"><em><span class="has-inline-color has-vivid-red-color">/*</span></em></p>



<p class="wp-block-paragraph"><em>   <span class="has-inline-color has-vivid-red-color">*Application Service Providers…</span></em></p>



<p class="wp-block-paragraph"><em><span class="has-inline-color has-vivid-red-color">  */</span></em></p>



<p class="wp-block-paragraph"><em><span class="has-inline-color has-vivid-red-color"> //Passport Service provider</span></em></p>



<p class="wp-block-paragraph"><em><span class="has-inline-color has-vivid-red-color">    Laravel\Passport\PassportServiceprovider::class,</span></em></p>



<p class="wp-block-paragraph"><em><span class="has-inline-color has-vivid-red-color">];</span></em></p>



<p class="wp-block-paragraph"><strong><em>12<sup>th</sup> step:-</em></strong><em> Write the code given below in command prompt.</em></p>



<p class="wp-block-paragraph"><em>             <span class="has-inline-color has-vivid-red-color"> php artisan passport:install</span></em></p>



<p class="wp-block-paragraph"><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </em><strong>Encryption keys generated successfully.</strong></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-create-api-in-laravel/">HOW TO CREATE API IN LARAVEL</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-to-create-api-in-laravel/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Jenkins Remote access API Example &#124; Jenkins Tutorial</title>
		<link>https://www.scmgalaxy.com/tutorials/jenkins-remote-access-api-example/</link>
					<comments>https://www.scmgalaxy.com/tutorials/jenkins-remote-access-api-example/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Fri, 24 Feb 2017 12:14:09 +0000</pubDate>
				<category><![CDATA[Jenkins]]></category>
		<category><![CDATA[access]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[Example]]></category>
		<category><![CDATA[Jenkins Tutorial]]></category>
		<category><![CDATA[Remote]]></category>
		<category><![CDATA[Remote access API]]></category>
		<category><![CDATA[Remote API]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2017/02/24/jenkins-remote-access-api-example/</guid>

					<description><![CDATA[<p>Jenkins Remote access API Example Jenkins provides machine-consumable remote access API to its functionalities. Currently it comes in three flavors: [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/jenkins-remote-access-api-example/">Jenkins Remote access API Example | Jenkins Tutorial</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div><img loading="lazy" decoding="async" class="aligncenter wp-image-3002 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/02/jenkins-remote-access-api-e.png" alt="jenkins-remote-access-api-example" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/02/jenkins-remote-access-api-e.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/02/jenkins-remote-access-api-e-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></div>
<div></div>
<div><strong>Jenkins Remote access API Example</strong></div>
<div></div>
<div><strong>Jenkins provides machine-consumable remote access API to its functionalities. Currently it comes in three flavors:</strong></div>
<div></div>
<div>XML</div>
<div>JSON with JSONP support</div>
<div>Python</div>
<div></div>
<div>Remote access API is offered in a REST-like style. That is, there is no single entry point for all features, and instead they are available under the &#8220;&#8230;/api/&#8221; URL where &#8220;&#8230;&#8221; portion is the data that it acts on.</div>
<div></div>
<div>For example, if your Jenkins installation sits at http://ci.jruby.org/, visiting http://ci.jruby.org/api/ will show just the top-level API features available – primarily a listing of the configured jobs for this Jenkins instance.</div>
<div></div>
<div>Or if you want to access information about a particular build, e.g. http://ci.jruby.org/job/jruby-base/lastSuccessfulBuild/, then go to http://ci.jruby.org/job/jruby-base/lastSuccessfulBuild/api/ and you&#8217;ll see the list of functionalities for that build.</div>
<div></div>
<div><strong>Remote API can be used to do things like these:</strong></div>
<div></div>
<div>Retrieve information from Jenkins for programmatic consumption.</div>
<div>trigger a new build</div>
<div>create/copy jobs</div>
<div></div>
<div></div>
<div>Jobs with parameters, Also see Parameterized Build.</div>
<div>Simple example &#8211; sending &#8220;String Parameters&#8221;:</div>
<div>curl -X POST JENKINS_URL/job/JOB_NAME/build \</div>
<div>  &#8211;data token=TOKEN \</div>
<div>  &#8211;data-urlencode json='{&#8220;parameter&#8221;: [{&#8220;name&#8221;:&#8221;id&#8221;, &#8220;value&#8221;:&#8221;123&#8243;}, {&#8220;name&#8221;:&#8221;verbosity&#8221;, &#8220;value&#8221;:&#8221;high&#8221;}]}&#8217;</div>
<div></div>
<div><strong>Check Jenkins Job Status via REST API</strong></div>
<div></div>
<div>job_status=`curl https://jenkins/view/job/other-job/lastBuild/api/json | grep &#8220;\&#8221;result\&#8221;:\&#8221;SUCCESS\&#8221;&#8221;`</div>
<pre>if [ -n "$job_status" ] then     # Run your script commands here else   echo "BUILD FAILURE: Other build is unsuccessful or status could not be obtained."   exit 1 fi</pre>
<div></div>
<div></div>
<div><strong>How to restart Jenkins manually?</strong></div>
<div></div>
<div>To restart Jenkins manually, you can use either of the following commands:</div>
<div>(jenkins_url)/safeRestart &#8211; Allows all running jobs to complete. New jobs will remain in the queue to run after the restart is complete.</div>
<div></div>
<div>(jenkins_url)/restart &#8211; Forces a restart without waiting for builds to complete.</div>
<div></div>
<div><strong>Reference</strong></div>
<div><a href="https://wiki.jenkins-ci.org/display/JENKINS/Remote+access+API" target="_blank" rel="noopener">https://wiki.jenkins-ci.org/display/JENKINS/Remote+access+API</a></div>
<div></div>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/jenkins-remote-access-api-example/">Jenkins Remote access API Example | Jenkins Tutorial</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/jenkins-remote-access-api-example/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
