This tutorial demonstrates how to integrate Spring Boot with the Activiti workflow engine, covering essential operations such as querying tasks, suspending, activating, and deleting process instances, and provides complete Java code snippets and controller endpoints for each function.
This article demonstrates how APIJSON dramatically reduces boilerplate for typical CRUD operations by using a single generic endpoint for all request types, showing concrete SpringBoot examples, request/response JSON structures, permission configuration, and advanced query capabilities, all with minimal code.
This guide explains how to use Spring Boot's @GetMapping attributes to restrict requests by content type, parameters, and headers, compares PathPattern and AntPathMatcher URI patterns, and demonstrates dynamic registration of request handlers through programmatic mapping configuration.
This guide walks you through creating, viewing, updating, and deleting Elasticsearch indices, documents, and mappings using RESTful HTTP methods, complete with example requests, JSON bodies, and visual illustrations for each operation.
This step‑by‑step tutorial explains how to create Restful file upload and download APIs using Spring Boot 2.2.6, covering environment setup, project structure, interface and implementation details, size‑limit configuration, global exception handling, and testing the endpoints with Postman.
This article demonstrates how to call third‑party APIs in Java projects by importing the HttpClientUtil utility, performing GET and POST requests (with and without parameters), handling JSON responses with a custom JsonUtils class, and includes complete code examples for each step.
This tutorial explains how to protect a Spring Boot web application by integrating Spring Security and JSON Web Tokens (JWT), covering project setup, dependency configuration, custom authentication components, security filters, token generation, role‑based access control, and testing with curl commands.
This guide walks you through downloading and installing ElasticSearch, explains core concepts like indices, types, documents, and fields, demonstrates CRUD operations via RESTful APIs, shows advanced query techniques, and provides complete Java integration examples using Maven and Docker.
This guide demonstrates how to integrate Spring Boot with the Activiti workflow engine, covering common operations such as querying owner tasks, retrieving assigned tasks, suspending, activating, and deleting process instances, complete with controller examples and sample API calls.
This guide walks through Elasticsearch 7.8.0 advanced query techniques—including match‑all, term, multi‑match, range, fuzzy, sorting, highlighting, pagination, and various aggregations—showing the required HTTP methods, endpoints, request bodies, and example responses for each operation.
This guide walks through using Elasticsearch 7.8.0 and Postman to create, view, update, and delete indices and documents via RESTful API calls, including mapping setup and query‑based deletions, providing clear code examples and request details.
This tutorial explains how to set up a Spring Boot project with Elasticsearch 6.2.1, configure RestHighLevelClient and RestClient beans, define ES host settings, and perform index creation, deletion, pagination, various query types, sorting, and highlighting through the Java API.
This article explains the concept of idempotency, why it is essential for HTTP interfaces, the impact on system design, and presents several practical implementation strategies—including unique primary keys, optimistic locking, anti‑repeat tokens, and downstream sequence numbers—accompanied by a complete Spring Boot example with Redis integration and test code.
This article surveys the most popular REST API tools—covering definition, testing, monitoring, publishing, and management solutions—detailing each product's core features, integration options, and ideal use cases to help developers choose the right tool for their projects.
This article explains the concept of idempotency, why it is needed for reliable API design, compares HTTP method idempotence, and presents four practical backend solutions—including unique primary keys, optimistic locking, anti‑repeat tokens, and downstream sequence numbers—accompanied by Spring Boot and Redis code examples.
The article walks through a complete Android app update workflow where an administrator uploads an APK via a Vue front‑end to a SpringBoot service, the backend stores version data, and the Android client periodically checks for newer versions, downloads the APK using a Service and OkHttp, and installs it automatically.
This article provides a comprehensive guide to Elasticsearch search requests, detailing the routing process, request structure, core modules like query, size, from, _source, and sort, and illustrating various query and filter types such as match, term, range, bool, and wildcard with practical curl examples.
This article introduces Elasticsearch as a Lucene‑based distributed search engine and demonstrates how to use curl commands to create, read, update, and delete documents and indices, providing step‑by‑step examples with command‑line output and screenshots.
This article explains how to replace repetitive try‑catch‑finally blocks with a unified global exception handling mechanism in Spring Boot, covering its evolution since Spring 3.x, classification of exceptions, the exact matching order, and a complete code example for developers.
This article provides a comprehensive step‑by‑step guide on selecting technologies, configuring Gradle, integrating Spring Boot 2.1.5 with MyBatisPlus, setting up FastJSON, Hutool, Undertow, and other tools, and includes complete source code for entity, mapper, service, controller, and utility classes to build a clean Java backend application.
This tutorial walks you through creating a Spring Boot web project, adding the starter dependency, implementing a REST endpoint, customizing Tomcat port and context path, and configuring Jackson for JSON output such as date formatting and global ObjectMapper settings.
This tutorial explains how Spring Boot returns JSON using the default Jackson library, compares it with Alibaba's FastJson, demonstrates handling of null values, and shows how to encapsulate responses in a unified structure with status codes and messages for backend development.
This article demonstrates how to design a non‑intrusive, unified JSON response structure for Spring Boot applications, defines a standard Result wrapper and status enum, shows static factory methods, and explains global handling via @ResponseResultBody, @RestControllerAdvice, and centralized exception processing.
This article surveys a wide range of REST API tools—covering API definition, testing, monitoring, publishing, and centralized management—highlighting their key features, supported languages, integration capabilities, and suitability for teams of different sizes and project requirements.
The article outlines the latest WordPress release, highlighting performance improvements such as image lazy loading, new XML sitemap support, enhanced block editor capabilities, accessibility upgrades, and a series of developer‑focused updates including REST API block registration, environment definitions, updated libraries, and new functions for theme and plugin development.
This tutorial introduces Deno.js, explains its security‑first runtime features, compares it with Node.js, and walks through building a complete MySQL‑backed CRUD REST API using TypeScript, covering installation, code structure, and execution steps.
This article provides a concise tutorial on Elasticsearch 7.x, explaining what documents and indices are, how unique IDs and metadata work, and demonstrating key REST API commands for managing and querying data in a search‑engine context.
This article introduces the community‑maintained SpaceX REST API that aggregates all launch, vehicle, and payload data, explains how to query it using tools like Postman or Python, and provides deployment options via Docker or local npm setup for developers.
This article introduces the community‑maintained r/SpaceX REST API that aggregates every SpaceX rocket datum, explains how to query it via JSON in multiple languages, provides a Python example, and details Docker, local, and Postman deployment options for developers.
This article explains two practical methods—using a custom linter.sh script that calls Jenkins's REST API and employing the Jenkins Pipeline Linter Connector VS Code extension—to validate declarative pipeline syntax before committing, reducing repeated build failures caused by syntax errors.
This article explains the best practices for using parameters and query strings in REST API design, covering pagination, parameterization concepts, HTTP methods, headers, caching, and authorization, and provides guidance on choosing the right approach to create efficient, stateless, and scalable APIs.
This article introduces Elasticsearch by explaining its core concepts such as indices, types, documents, mappings, and Query DSL, demonstrates common use cases, and provides step‑by‑step instructions for creating, updating, viewing, and deleting indices and documents using RESTful APIs, curl commands, and Docker‑compose deployment.
This guide explains how to integrate JDBC into a Spring Boot project, covering Maven dependencies, datasource configuration, Spring Boot's auto‑configuration mechanism, JdbcTemplate usage, Swagger setup for API testing, CRUD examples on a MySQL department table, and solutions to typical connection errors.
WordPress 5.3 Beta 3, slated for release on November 12, 2019, brings a refreshed admin interface, fixes confusing login errors, improves image upload accessibility, updates MediaElement.js to 4.2.13, and adds several REST API enhancements, with the beta now publicly testable via the WordPress Beta Tester plugin.
This tutorial explains why server‑side request parameter validation is essential, introduces the JSR‑303 Bean Validation standard and its Hibernate Validator implementation, and provides step‑by‑step code examples, Swagger integration tips, and dependency guidance for building robust Spring Boot REST APIs.
This tutorial explains how to integrate Swagger2 into a Spring Boot RESTful API project, covering dependency setup, configuration, annotation usage, and UI testing, enabling automatic, maintainable API documentation for multiple client platforms.
Learn how to create a reactive REST API using Spring Boot and RxJava, covering prerequisite knowledge, required dependencies, CRUD endpoint definitions, service layer implementation with RxJava Single, and web controller integration, plus essential Maven setup and tips to avoid common HttpMediaNotAcceptableException errors.
This tutorial introduces Elasticsearch, explains its architecture and use cases, walks through installation, index creation, mapping, CRUD operations, and demonstrates how to integrate and query Elasticsearch from Python using both the REST API and the official client library.
This tutorial walks you through installing Elasticsearch, creating indices, mapping schemas, inserting, updating, deleting, and searching documents using both cURL commands and the official Python client, illustrated with practical code examples and screenshots.
This article explains how Elasticsearch stores JSON documents, indexes them, and uses RESTful PUT, GET, DELETE, and search APIs to perform create, read, update, and delete operations, illustrating each step with concrete employee examples and query syntax.
This comprehensive guide explains how to design and implement functional tests for a Spring Boot microservice using Docker containers, REST‑Assured, WireMock, and Testcontainers, covering architecture, code examples, test configuration, and best practices for maintainable black‑box testing.
This tutorial explains how to collect data with a Python web crawler, store it in MySQL using PyMySQL, set up a Django project with Django REST framework, define models, serializers, and views, and implement pagination for a robust backend API.
This article provides a step‑by‑step guide to creating a Spring Boot application, generating a project template, adding a MyBatis‑based persistence layer, implementing service and controller layers, configuring the database, and running the application to expose REST endpoints.
This article explains how Spring MVC uses @RequestBody to deserialize JSON request bodies into Java objects and @ResponseBody to serialize Java objects back to JSON, providing clear code examples, curl testing, and notes on @RestController behavior.
This guide walks through multiple strategies for handling exceptions in Spring REST APIs, covering legacy @ExceptionHandler methods, HandlerExceptionResolver options, the modern @ControllerAdvice approach, and security-related error handling, providing code examples and best‑practice recommendations for building robust, maintainable services.
This tutorial walks you through installing Elasticsearch, creating indices, inserting and updating documents, performing searches via REST API, and integrating Elasticsearch into Python applications using both raw HTTP requests and the official Python client, illustrated with practical examples and screenshots.
This article explains how to identify, design, and implement Java microservices—from domain‑driven modeling and service boundaries to RESTful API creation, documentation, proper HTTP verbs, and versioning strategies—using examples like an online retail store and the Game On! text adventure.
This tutorial walks you through creating a reactive Spring WebFlux RESTful API using Spring Boot 2.0 and MongoDB, covering project setup, database connection, model, DAO, controller implementation, and testing the CRUD operations with practical code examples and screenshots.
SoftRadio is a remote online debugging system that enables end‑to‑end integration testing for NB‑IoT devices on Huawei’s OceanConnect platform, offering three‑layer functionality, REST‑based APIs, and CoAP over UDP simulation to improve development efficiency while remaining a test‑only feature.
This article explains how using an API gateway as a single entry point enables diverse client types—desktop browsers, mobile apps, and native applications—to efficiently retrieve product details from multiple microservices while handling network constraints, service discovery, and security.
HTTP/2 replaces the text‑based HTTP/1.x with a binary, multiplexed protocol that reduces latency, eliminates head‑of‑line blocking, compresses headers, enables server push, and improves security, offering REST APIs faster, more efficient communication while preserving familiar semantics for developers.
This article explains how to store configuration files in a remote GitHub repository and fetch them via GitHub's REST API v3, covering both public and private repositories, authentication methods, and the steps to create and use a Personal Access Token for secure access.
Configuration ManagementREST APIbackend development
This tutorial walks you through installing Elasticsearch, configuring Java and network settings, understanding core concepts like nodes, clusters, indices and documents, setting up Chinese analyzers, performing CRUD operations, and executing powerful full‑text queries using the Elasticsearch REST API.
This tutorial demonstrates how to use Spring Cloud's Zuul proxy to route requests from a separate UI application to a REST API, covering Maven setup, Zuul configuration, API and UI code, custom filters, and testing, while addressing CORS and same‑origin restrictions.
This article presents ten concise best‑practice guidelines for designing clean, efficient REST APIs, covering proper use of HTTP methods, status codes, headers, framework selection, black‑box testing, and five additional crucial recommendations to help developers create elegant and maintainable web services.
This guide walks you through creating a basic Spring Boot project with Maven, adding the web starter, implementing a simple Hello World REST controller, and writing unit tests using MockMvc, providing step‑by‑step instructions, code snippets, and project structure details to help Java developers quickly get started with lightweight Spring applications.
Discover the top ten Node.js REST API best practices—from proper HTTP verbs and status codes to JWT authentication, rate limiting, and effective documentation—offered by RisingStack engineer Gergely Nemeth, with real‑world examples like GitHub, Twilio, Stripe, and DigitalOcean APIs.
This article introduces Elasticsearch as a reliable open‑source search and analytics engine, explains its key concepts such as clusters, nodes, indexes, types and documents, walks through installation steps, and demonstrates essential CRUD operations using RESTful curl commands.
This tutorial walks through creating a simple REST API with POST, GET, PUT, and DELETE endpoints using Node.js, Express, MongoDB, and Mocha, demonstrating a test‑driven development workflow from writing tests to implementing passing code.
With explosive OTT growth and soaring data traffic, traditional network acceleration falls short, so Huawei’s open network acceleration solution leverages REST APIs to dynamically speed up the UE‑to‑eNodeB link, cutting latency and boosting user experience across gaming, video, and e‑commerce.
GitHub introduced a GraphQL‑based public API to overcome REST’s scalability and flexibility limits, allowing clients to specify exact data needs, reduce network overhead, and combine multiple queries into a single request, while offering features like batching, subscriptions, and data latency control.
This article shares Cookpad’s practical experience with microservices, covering service granularity, RESTful integration, parallel processing, fault tolerance, testing strategies, logging, Docker‑based deployment pipelines, and company‑wide support mechanisms that together improve development speed and reliability.
This article explains the fundamentals of REST APIs, outlines HTTP methods, recommends JSON payloads, and details authentication, authorization, URL filtering, encryption, rate limiting, error handling, and other security measures for building robust backend services.
After two months of deep involvement in a distributed hybrid‑cloud project, I share practical insights on using Restful APIs, RabbitMQ, Redis, logging, component‑based development, testing strategies, coding standards, and cross‑team communication, highlighting challenges and solutions encountered while integrating C#, Java, and Python services.
Meiya addresses typical startup challenges—small user base, rapid requirement changes, and an evolving team—by prioritizing development efficiency through standardized RESTful communication protocols, a four‑stage deployment pipeline, reusable frameworks, DB migrations, command‑line tools, logging with ELK, and automated server management via SaltStack.