In the post about defining our Data class, we took a look at the Overpass Turbo API. We’ll now create a simple networking layer to interact with the API. We’ll use the NSURLSession to keep things simple. The networking layer in our case has 3 parts: API Resource: We will send the Overpass turbo XML query, and the required headers. Response: We receive the JSON output from OSM after the successful completion of network operation.