This article explains Spring Boot's HttpMessageConverter and Content Negotiation mechanisms, covering default converters, source code flow, customization via WebMvcConfigurer, and troubleshooting 415/406 errors.
This article introduces Meilisearch as a lightweight, fast alternative to Elasticsearch, detailing its features, Docker installation, and RESTful API usage for index management, settings configuration, document CRUD operations, and advanced search with pagination, sorting, and filtering.
This tutorial demonstrates how to integrate Tess4j with Spring Boot to create an OCR REST API, covering dependency setup, Tesseract engine initialization with language data configuration, image preprocessing tips, and a working controller example, plus a comparison of popular OCR engines and alternatives for improved Chinese text recognition.
This step‑by‑step guide walks you through installing Go, configuring the environment, structuring a project, using Gin to create CRUD endpoints, adding middleware, managing configuration, testing, generating Swagger docs, optimizing performance, and deploying the service with Docker or systemd.
This article walks through why manual if‑else checks are cumbersome for API input validation, introduces Java Bean Validation (JSR‑303/349/380) and its implementations, shows how to use @Validated and @Valid annotations in Spring Boot, and demonstrates unified exception handling for clean error responses.
WordPress’s wp2shell vulnerability chain, disclosed by Adam Kues and Mustafa Can İpekçi, links CVE‑2026‑63030 REST route confusion with CVE‑2026‑60137 SQL injection to achieve pre‑authentication remote code execution via a single HTTP request, and the article details the exploit steps, detection scripts, and mitigation measures.
This guide walks through adding embedding support to a Spring AI application by configuring Ollama, creating an EmbeddingService for vector generation and similarity calculations, exposing REST endpoints via EmbeddingController, and providing a simple HTML front‑end for interactive testing, with step‑by‑step instructions and code samples.
The article argues that, despite Python’s dominance in AI research, PHP’s ubiquitous production‑grade web stack, built‑in authentication, database access, and recent language features make it a pragmatic choice for building AI agents that call LLM APIs via simple REST requests, without extra runtimes or orchestration tools.
This article introduces the open‑source spring‑response‑envelope library for Spring Boot 3, showing how a single @ResponseEnvelope annotation can automatically wrap controller results in a standard JSON structure, add metadata, handle errors, expose metrics, and reduce boilerplate code by about 30%.
This article provides a step‑by‑step reference of essential ElasticSearch REST commands—including cluster health checks, node information, index management, document CRUD operations, and various search queries with examples and expected responses—helping practitioners efficiently manage and troubleshoot large ElasticSearch deployments.
AgentMemory introduces a shared, persistent memory service for AI coding agents, capturing session observations, extracting memories, lessons, and knowledge graphs, and exposing them via hooks, MCP tools, and REST APIs to prevent repeated mistakes, improve decision reuse, and enhance engineering efficiency.
Open Notebook offers a fully open‑source, locally deployed AI note‑taking platform that prioritizes data privacy, supports over 18 AI providers, provides multimodal content handling, customizable podcast generation, and extensible REST APIs, positioning it as a comprehensive, privacy‑enhanced alternative to Google Notebook LM.
This article demonstrates how to use Jackson’s @JsonMixin and @JsonFilter annotations together with a custom ObjectMapper and PropertyFilter in Spring Boot 3.5.0 to control API response fields dynamically via request parameters, avoiding multiple DTOs or heavyweight GraphQL setups.
This article dissects a comprehensive set of Barclays Java Spring Boot microservices interview questions, covering HashMap internals, REST method semantics, code implementations, Spring dependency injection, JDBC evolution, JPA/Hibernate usage, SQL injection defenses, microservice architecture essentials, and best‑practice REST API design.
This article introduces Neo4j as a graph database, walks through its Windows installation, and provides a complete Spring Boot integration tutorial—including Maven dependencies, YAML configuration, entity and repository definitions, REST controller implementation, and end‑to‑end testing of user and follow‑relationship APIs.
Many developers think a REST API is complete after versioning, pagination, and validation, but real‑world production exposes hidden issues such as unsafe retries, concurrent updates, undocumented deprecations, and missing contracts; this article explains four senior‑engineer‑approved patterns—idempotency, optimistic locking, lifecycle management, and contract‑first design—to build APIs that survive production.
This article explains why using a fixed DTO for a constantly changing /orders endpoint is problematic, compares simple Map and JsonNode approaches, and presents a robust polymorphic @JsonTypeInfo solution that provides type safety, IDE support, and easy extensibility.
This guide presents a lightweight Spring Boot dependency vulnerability scanner that automatically collects all project JARs, matches them against a CVE database, visualizes risk levels, provides detailed remediation steps and can be integrated into local development, emergency response, and CI/CD pipelines.
This article compares REST and GraphQL APIs for Spring Boot, explains their definitions, core differences, implementation steps with code samples, and provides clear criteria for selecting the right approach based on use‑case, performance, caching, and security considerations.
This article walks through integrating Spring Boot with external APIs, comparing RestTemplate, Feign, and WebClient, and presents three data‑synchronization approaches—full, incremental, and real‑time—detailing step‑by‑step configurations, code examples, and the trade‑offs of each method.
This guide walks through deploying the lightweight Gitea Git service with Docker, configuring MySQL, setting up the web interface, creating repositories, generating access tokens, and accessing its REST API, offering a resource‑efficient alternative to GitLab for AI model hosting platforms.
This guide explains why Meilisearch is a lightweight alternative to Elasticsearch, walks through Docker‑based installation, demonstrates index creation, settings configuration, document CRUD operations, and various search queries, all with concrete curl commands and code examples.
This guide walks through installing Meilisearch via Docker, creating indexes, configuring settings, managing documents, and performing instant, sortable, and filtered searches using its RESTful API, while highlighting its speed, low hardware requirements, and multilingual support.
Spring Boot 4 now natively supports API versioning with four strategies—Path Segment, Request Header, Query Parameter, and Media Type—offering intuitive configuration, smart routing, and seamless content negotiation, and the article provides detailed setup, code samples, and best‑practice guidance for reliable version control.
This article demonstrates how to implement elegant partial updates in Spring Boot 3 by combining @JsonMerge and @JsonSetter(nulls = Nulls.SKIP), addressing null‑value handling, reducing boilerplate code, and ensuring nested objects and maps are merged correctly.
This article explains how to fine‑tune JSON responses in Spring Boot 3 using Jackson annotations such as @JsonProperty, @JsonFormat, @JsonView, and Mix‑ins, covering field hiding, renaming, null handling, date/number formatting, view‑based serialization, and custom ObjectMapper configuration with code examples.
This article walks you through building modern Python web applications, starting with Flask fundamentals, advancing to FastAPI’s async capabilities, covering RESTful API design, database integration with SQLAlchemy and Tortoise ORM, testing, deployment, and performance comparisons to help you choose the right framework.
This tutorial walks you through setting up a Spring Boot project with Tess4J, adding required dependencies, configuring language data, implementing an OCR service and REST controller, and testing both local file and remote URL image recognition, all with complete code examples.
This article explains how the Jenkins Role Strategy plugin’s UI can become unresponsive with many users, introduces a Go SDK that wraps its REST API, demonstrates permission template, role, and user/group management code, and shows how to build a simple Gin‑based web UI for role assignment.
The article explains how to replace manual MCP Server development with Higress AI Gateway's API‑to‑MCP feature, showing step‑by‑step Docker setup, configuration of a simple SpringBoot service, MCP tool definition, request‑template options, and the resulting zero‑code deployment for AI agents.
This article explains how to implement secure, time‑limited file access in Spring Boot 3 by generating signed URLs, covering the underlying mechanism, configuration properties, utility classes, REST endpoints, and testing procedures with full code examples.
This article provides a comprehensive reference of Elasticsearch 7.x+ RESTful API commands covering index management, document CRUD, query DSL (match, term, bool, aggregations), SQL access, cluster health, index aliases, reindexing, and _cat APIs with practical examples.
This article walks through creating a reusable MyBatisPlus‑based controller framework for Spring Boot, covering dependency setup, utility methods for query building and reflection, a generic BaseController with full CRUD endpoints, pagination configuration, and concrete controller extensions, enabling rapid development of RESTful APIs.
This comprehensive guide walks Java beginners through installing IDEA and JDK, explains Spring Boot 3 fundamentals, demonstrates project creation with Spring Initializr, shows Maven standard layout, configures a simple Hello World REST controller, and covers essential topics such as POM files, GAV coordinates, Maven Wrapper, static resources, templates and unit testing.
This tutorial shows how to use Jackson's polymorphic deserialization in Spring Boot 3 to handle variable JSON request bodies by defining a common Order interface, concrete implementations, and a REST controller that routes calculations based on the order type, eliminating redundant endpoints.
This tutorial walks through designing a QR‑code login flow, defining a token table, outlining client and server roles, implementing two REST endpoints, configuring Spring Boot WebSocket support, and handling real‑time login notifications with Java and JavaScript code examples.
This tutorial shows how to create a reusable BaseController in a Spring Boot application using MyBatis‑Plus, providing generic CRUD, list, pagination, and count endpoints for any entity while demonstrating utility methods, pagination configuration, and concrete controller extensions.
This tutorial walks through creating a generic BaseController that provides CRUD, list, pagination, and count operations for any entity by adding MyBatis‑Plus, writing a utility class for query building, configuring a pagination interceptor, and extending the base class in concrete controllers, all illustrated with complete Java code snippets.
Version 0.9.0 of Ollama introduces a ‘thinking’ control that lets users view and manage the AI model’s reasoning process, with detailed CLI commands, REST API usage, model support list, scripting options, and advanced Modelfile configurations for models like DeepSeek R1 and Qwen 3.
This tutorial shows how to extend MyBatisPlus with a reusable BaseController, create utility methods for naming conversion and query building, configure pagination support, and quickly generate CRUD REST endpoints in Spring Boot projects using MyBatisPlusPro.
This guide shows how to create a reusable BaseController using MyBatis‑Plus, reflection utilities, and Spring Boot annotations to provide automatic CRUD, list, pagination and count endpoints for any entity with minimal code.
Explore a comprehensive Spring Boot 3 tutorial featuring 122 real‑world controller examples—from basic @RestController setup and dynamic URL configuration to advanced SpEL usage, interface default methods, exception handling, data binding, and custom endpoints—complete with code snippets and test results.
This article shares practical Java backend development techniques, covering safe enum usage, RESTful API design guidelines, generic bean conversion via JSON, effective Stream API patterns, and comprehensive null‑checking and assertion strategies to improve code reliability and maintainability.
This guide walks through converting a traditional Spring Boot book‑management API into a Model Context Protocol (MCP) service that can be invoked via natural‑language prompts, covering dependency setup, proxy configuration, @Tool annotations, MCP server registration, chat client wiring, data initialization, and end‑to‑end testing.
This article explains how Docker Model Runner enables effortless local execution of AI models, details platform support, provides a full command reference, shows how to use the REST endpoint, and demonstrates integration with Java via LangChain4j, including code examples and a feature comparison with Ollama.
This article explains how to combine PHP web applications with modern cloud-native AI services—via REST APIs, SDKs, and message queues—to build efficient real-time decision systems, covering integration methods, sample code, use-case implementations such as recommendation, dynamic pricing, fraud detection, and performance optimization best practices.
This article explains the fundamentals of OAuth2.0, outlines its roles and grant types, and provides a step‑by‑step Spring Boot implementation—including authorization server, security configuration, resource server, and a test controller—followed by detailed testing procedures and results.
This tutorial provides a step-by-step guide for beginners to set up the environment, create models, migrations, controllers, define routes, and test a simple RESTful API using Laravel, including optional advanced features and sample code.
This tutorial walks through setting up a Spring Boot 2.7.5 project with Flowable 6.6.0 and MySQL8, covering environment setup, Maven dependencies, application properties, core Java classes, REST endpoints, process diagram generation, BPMN definition, database tables, and demo screenshots for a complete leave‑approval workflow.
The article demonstrates how to build a dynamic Chain of Responsibility in a Spring Boot and MyBatis‑Plus application by defining an abstract handler, implementing concrete @Component beans that modify a shared Lombok‑based context, retrieving them via an ApplicationContext‑aware proxy utility, and invoking them in a client‑specified order through a REST endpoint, while suggesting LiteFlow as a production alternative.
This article examines the ten most frequent errors developers make when building Spring Boot REST APIs, explains the negative impact of each mistake, and offers concrete, up‑to‑date solutions with code examples, while also highlighting a continuously updated collection of over 70 Spring Boot 3 practical case studies.
This article introduces the open‑source MarkItDown Python library, demonstrates converting Excel files to Markdown, shows how to expose its functionality via a Dockerized REST API, and explains advanced integration with visual AI models for richer document processing.
The article presents a comprehensive design for third‑party APIs that protects against data tampering, replay attacks, and unauthorized access by using AK/SK key pairs, timestamp and nonce signatures, TLS encryption, fine‑grained permission models, rate limiting, idempotency handling, versioning, standardized response formats, and detailed implementation examples in Java.
This article presents a collection of over 50 practical Spring Boot 3 examples, demonstrating how to directly write responses with OutputStream, read request bodies via InputStream, use @Value and SpEL for fixed parameters, combine body and headers with HttpEntity, access security data through @CurrentSecurityContext, and handle Map parameters with @ModelAttribute.
This guide explains why online file preview is needed, introduces the open‑source kkFileView solution built on Spring Boot, and walks through installing it via source or Docker, configuring the preview API, and testing various document formats directly in a browser.
Learn how to efficiently convert internal entities to external DTOs in Spring Boot 3 using ModelMapper, covering library comparisons, Maven setup, configuration, entity and DTO definitions, service, facade, controller implementation, and advanced features like custom mappings, property skipping, value conversion, and conditional mapping.
This article introduces LangServe, explains its key features for LLM deployment, walks through environment setup, shows how to build a FastAPI‑based REST API with code examples, demonstrates testing via Postman and remote client calls, and summarizes its benefits for AI model serving.
This article walks through creating a Spring Boot 3 application from scratch, demonstrating how to customize the ApplicationContext, embed a Tomcat server, define a custom SpringApplication class, configure web components, and test REST endpoints, providing complete code snippets and explanations for each step.
This tutorial demonstrates how to build a reusable Python HTTP client by defining a base HttpRequest class with standard methods, extending it with a RestApiRequest subclass that adds authentication handling, and provides a complete code example showing GET and POST requests.
This tutorial explains how to perform partial updates of RESTful resources using the HTTP PATCH method and JSON Patch format in Spring Boot 3.2.5, covering all RFC‑6902 operations with code examples and a complete working controller implementation.
This comprehensive guide introduces Elasticsearch’s core concepts, installation, REST API operations, and practical examples of indexing, updating, deleting, bulk processing, searching, filtering, and aggregations, helping readers build scalable, near‑real‑time search and analytics solutions for diverse use cases.
This guide explains how to download a GGUF‑format Llama 3 model, create a Modelfile, use Ollama commands to build and run the model locally, test it, and interact via the built‑in REST API, including useful Docker and model‑management tips.
This article explains how the @JsonView annotation in Spring Boot lets developers define multiple JSON views to selectively expose fields based on client needs, user roles, API versions, or data aggregation requirements, providing code examples and practical usage tips.
Learn how to implement multi-version REST APIs in SpringBoot 2.7.16 using a single custom annotation, custom RequestCondition, and HandlerMapping, enabling seamless version control, client compatibility, and flexible business scenarios with clear code examples and testing screenshots.
This tutorial walks through setting up a Spring Boot backend, adding the Tess4J OCR library, creating a service and REST controller to recognize text from both local files and remote image URLs, and provides testing steps and deployment tips.
This tutorial explains how to secure a Spring Boot REST API using API key authentication, covering the addition of Maven dependencies, creating a custom filter, extending AbstractAuthenticationToken, configuring the security filter chain, and testing the protected endpoint with curl commands.
This article explains how Spring Data REST automatically exposes Spring Data repositories as RESTful endpoints, covering setup, entity and repository definitions, exposure strategies, custom base paths, CRUD operations, field projection, event handling, and visual tools for Spring Boot 3.0.5 with JDK 17.
This guide walks through setting up a Spring Boot project, adding Tess4J dependencies, configuring language data, implementing an OCR service class, exposing REST endpoints for local and remote image recognition, and testing the OCR functionality end‑to‑end.
This article provides a step‑by‑step guide on designing and implementing an audit feature using SpringBoot for the backend, MySQL for data storage, and Vue.js for the front‑end, covering multiple implementation strategies, database schema creation, RESTful APIs, file upload handling, and UI interaction details.
This article provides a step‑by‑step guide on designing and implementing an audit workflow in a SpringBoot application, covering database schema creation, multiple backend implementation strategies, RESTful controller code, Vue.js front‑end integration, and file upload handling with deduplication.
This tutorial demonstrates how to create a real-time Linux system resource monitoring web page using Flask for backend APIs, MongoDB for data storage, and Vue.js for a dynamic frontend that updates every 30 seconds.
The article explains the challenges of temperature data quality control in weather apps, critiques simple threshold filtering, and presents a statistical‑based solution that builds a probability‑distribution model from a decade of nationwide observations, implements a RESTful API, and evaluates its performance across locations, times, and seasons.
Learn how to integrate Elasticsearch 7.8 with Spring Boot 2.4, covering essential dependencies, index management, document CRUD, bulk operations, and advanced queries such as pagination, sorting, filtering, highlighting, aggregations, and grouping, all demonstrated with concise Java High-Level REST client code examples.
This guide explains how Spring Boot 2.6.12 uses @GetMapping with consumes and produces attributes to restrict request and response content types, demonstrates matching based on request parameters and headers, details the internal request mapping lookup process, compares PathPattern and AntPathMatcher URI patterns, and shows dynamic registration of request handlers.
This tutorial explains how to secure REST APIs by implementing API‑key based authentication using Spring Security, covering the necessary Maven dependencies, custom filter creation, token handling, security configuration, controller setup, and testing with curl commands.
This tutorial explains how to secure a Spring Boot REST API using API‑key authentication by adding the necessary Maven dependency, creating a custom filter, extending AbstractAuthenticationToken, configuring Spring Security, implementing a controller, and testing the endpoint with and without the API key.
This tutorial explains how to secure a Spring Boot REST API using API key authentication, covering the addition of Maven dependencies, creating a custom filter, extending authentication tokens, configuring the security filter chain, and testing the protected endpoint with curl.
kkFileView is an open‑source Spring Boot‑based service that enables online preview of a wide range of document, image, archive and multimedia formats, offering multiple rendering modes and easy REST integration for developers.
This article discusses the practical implementation of extracting table and field lineage information via the Spline REST API, analyzing API call frequency, server load tolerance, and the strategy of re-parsing lineage only when job versions change to optimize performance.
This guide walks through setting up Camunda BPM 7.18 with Spring Boot 2.6.14, configuring dependencies and application properties, designing a two‑step approval workflow, deploying it via custom REST endpoints, and managing process start and task approval using Camunda’s services and APIs.
This article outlines best practices for building and managing RESTful APIs using Laravel, covering resource routing, API route groups, request and response handling, middleware for authentication and access control, and controller implementation, with code examples illustrating each concept.
This guide shows front‑end developers how to generate realistic mock data with ChatGPT, export it as JSON, and instantly serve a full RESTful mock API using json‑server, covering schema design, routing, filtering, pagination, sorting, and query operators.
This article explains how to configure and implement request throttling in Django Rest Framework, walks through the relevant source code in throttling.py and views.py, demonstrates testing the limit, and shows how to trigger custom DingTalk alerts when the limit is exceeded.
This article explains why Go is ideal for high‑performance web services, clarifies API and REST concepts, outlines criteria for selecting a Go API framework, and reviews the five most popular Go REST frameworks—Gin, Echo, Gorilla Mux, Buffalo, and Goji—along with their strengths, weaknesses, and tips for monitoring and monetizing APIs.
This article introduces Elasticsearch as a scalable distributed search engine, compares it with Solr, walks through local, Docker, and Kubernetes installation, explains its document‑oriented data model, demonstrates CRUD operations via REST API, and shows how to integrate it with Spring Boot using the official Java client.
This article explains how to use @ExceptionHandler with @Controller, @ControllerAdvice, and @RestControllerAdvice for local and global exception handling in Spring MVC, details supported method parameters and return types, and shows how to customize REST API error responses by extending ResponseEntityExceptionHandler.
This tutorial explains how to create, query, update, and delete Elasticsearch indices and documents using RESTful HTTP requests, covering basic CRUD operations, various query types, pagination, sorting, aggregations, highlighting, and mapping definitions with practical JSON examples.
This article demonstrates how to implement unified global exception handling in a Spring Boot application by defining custom exceptions, creating a @RestControllerAdvice with specific @ExceptionHandler methods, and wiring sample controller endpoints to showcase both system and custom error responses.
This article explains the concept of idempotency, why it is needed for HTTP interfaces, the impact on system design, and presents several practical backend solutions—including database unique keys, optimistic locking, anti‑repeat tokens, and downstream sequence numbers—accompanied by complete Spring Boot code examples using Redis for token management.
This article presents a step‑by‑step guide on securing Spring MVC interfaces by encrypting and decrypting both GET and POST requests using symmetric AES, custom ControllerAdvice components, and Jackson configuration to ensure consistent JSON serialization across mobile, H5, and backend services.
This article demonstrates how to secure GET and POST API endpoints in a Spring MVC application by encrypting request bodies and responses with AES, using custom ControllerAdvice classes, handling serialization issues with FastJSON and Jackson, and configuring ObjectMapper for proper date and enum formatting.
This article explains how to structure Spring Boot controller methods to receive parameters, implement unified status codes, validation with @Validated, and automatic response wrapping using ResultVo and @RestControllerAdvice, while also providing custom exception handling and optional exclusion annotations for flexible API design.
This tutorial explains how to structure a Spring Boot controller layer, validate request parameters with @Validated, wrap responses in a standard ResultVo format, define unified status codes, and handle exceptions globally using @RestControllerAdvice and AOP, while also providing a way to skip wrapping for specific endpoints.
This guide introduces the RestfulFastRequest plugin for IntelliJ IDEA, walks through its installation, configuration, and key features such as request generation, header management, JSON validation, CURL export, API navigation, and seamless integration with Postman, helping developers streamline RESTful API testing.
The article presents a kindergarten management system featuring three user roles, outlines its Spring Boot and Thymeleaf technology stack, details required runtime and database environments, provides step‑by‑step deployment instructions, and includes complete backend controller source code for user, teacher, student, and school management functionalities.
This article describes a seat‑temporary‑leave management system built with Java Spring Boot and Vue, detailing its front‑end and back‑end modules, technology stack, functional pages, and provides a representative controller code snippet illustrating the back‑end API design.
This article presents a Java Spring Boot vaccination management system that supports user registration, vaccine record handling, case history, nucleic‑acid test reporting, travel tracking, risk‑area management, and epidemic‑prevention knowledge, detailing its roles, technology stack, database design, UI screenshots, and core backend source code.
This article introduces the Apache DolphinScheduler 2.x RESTful API endpoints for workflow definitions, task definitions, and workflow‑task relations, provides detailed parameter tables, and includes Java code examples for token‑based API calls and creating workflows via both direct and multi‑step approaches.
This guide introduces kkFileView, an open‑source Spring Boot solution for online preview of office, PDF, CAD, multimedia and text files, outlines its key features, provides documentation links, shows preview examples, and explains how to set up and run the service.
This article explains the architecture and key features of NetEase Cloud's local server‑side recording cluster, detailing how dynamic scaling, multi‑backup high availability, load‑balancing strategies, monitoring, and an embedded registration center enable secure, reliable, and scalable recording for data‑sensitive applications.