Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Best of DZone: All Things API

DZone's Guide to

Best of DZone: All Things API

You can't spell integration without API! Wait...

· Integration Zone ·
Free Resource

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.

Being fluent in API is a must for any developer. Whether you work in Java, C#, JavaScript, or Python, brining in data from APIs, or even knowing how to create your own, is something you'll need in your tool built. With that in mind, we put together this collection of the best API tutorials we've published over the years. 

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.

Make your mark on the industry’s leading annual report. Fill out the State of API Integration 2019 Survey and receive $25 to the Cloud Elements store.

Topics:
integration ,api tutorials ,rest api tutorial ,java api tutorials

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}