# Tutorial: Networking and Webservices

DevFeed: [Tutorial: Networking and Webservices](<https://devfeed.tech/articles/tutorial-networking-and-webservices-19631.md>)

Original publisher: [Read original article](<https://www.codenameone.com/blog/tutorial-networking-webservices/>)

Author: Shai Almog

Published: 2017-06-14T00:00:00Z

Content type: tutorial

Language: en

Sources: [CodeName One](<https://devfeed.tech/sources/codename-one.md>)

Topics: [Tutorial](<https://devfeed.tech/topics/tutorial.md>), [networking](<https://devfeed.tech/topics/networking.md>), [API](<https://devfeed.tech/topics/api.md>), [REST API](<https://devfeed.tech/topics/rest-api.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [examples](<https://devfeed.tech/tags/examples.md>), [networking](<https://devfeed.tech/tags/networking.md>), [overview](<https://devfeed.tech/tags/overview.md>), [rest](<https://devfeed.tech/tags/rest.md>), [rest-api](<https://devfeed.tech/tags/rest-api.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>)

## AI overview

A Codename One tutorial explaining networking options, the distinction between URL and ConnectionRequest, socket API types, and basic REST API calls and implementation approaches.

## Source excerpt

Networking in Codename One includes so many different options and some very complex capabilities. This tutorial doesn't cover all the options but it tries to clarify the logic of why we have both URL and ConnectionRequest. It also explains the socket API types and which one makes sense in which situation. We also provide a couple of simple examples of REST API calls and an overview of the different ways in which REST can be implemented.