Best of DZone: All Things API
Best of DZone: All Things API
You can't spell integration without API! Wait...
Join the DZone community and get the full member experience.Join For Free
How to Transform Your Business in the Digital Age: Learn how organizations are re-architecting their integration strategy with data-driven app integration for true digital transformation.
Best of DZone API Tutorials
How to Test a REST API With JUnit by Mark Paluch. A developer walks us through how to test APIs in the commit stage of the SDLC using the open source tools JUnit and RESTEasy. This article includes some great explanations, plus all the Java code you need to get started.
Access-Control-Allow-Origin Header and the ASP.NET Web API by Sibeesh Venu. When working with the ASP.NET Web API, you may run into this rather long error message: "Response to preflight request doesn’t pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:58018' is therefore not allowed access." In this post, a developer breaks down this convoluted message and demonstrates the C# code you can use to fix the error it describes.
How to Read a Large CSV File With Java 8 and Stream API by Eugen Hoble. A quick and easy post that walks you through the Java code you need to integrate the Stream API and get it to read data from large CSV files.
How to Parse JSON Data From a REST API Using a Simple JSON Library by Soumyajit Basu. A discussion of the nature of JSON-based APIs, followed by a step-by-step tutorial on how to parse the data from these APIs using Java and some Java libraries. This tutorial makes parsing data from a REST API is as easy as J-S-O-N.
Spring Boot RESTful API Documentation With Swagger 2 by John Thompson. A developer gives tutorial on combining these great tools for developing and documenting interesting APIs. Read on to put some swagger back in your integration game.
DZone Publications APIs
- DZone Guide to API Management: Comparative Views of Real-World Design featuring articles by Elmer Thomas, Nuwan Dias, Guy Levin, Fernando Doglio, Mike Stowe, Tom Smith, and John Vester. Discover what you need to know about the state of API management and enterprise integration. This guide explores API design, integration best practices, and securing APIs. Significant developments in microservices architectures, application security, and API design best practices require the latest knowledge of integrating systems. Learn how Integration is changing with the times. The 2018 Guide to API Management explores the API design, integration best practices and securing APIs.
Java API Best Practices by Johnathan Giles. If you want people to use your software, you're going to have to become an API developer. In this Refcard, you'll learn how to make well-documented, consistent, evolvable APIs to help your users make the most of your Java applications.
REST API Security by Guy Levin. API security is the single biggest challenge organizations want to see solved in the years ahead. Download this Refcard to gain a better understanding of REST APIs, authentication types, and other aspects of security.
Opinions expressed by DZone contributors are their own.