# Terse REST API

DevFeed: [Terse REST API](<https://devfeed.tech/articles/terse-rest-api-19548.md>)

Original publisher: [Read original article](<https://www.codenameone.com/blog/terse-rest-api/>)

Author: Shai Almog

Published: 2017-07-04T00:00:00Z

Content type: tutorial

Language: en

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

Topics: [REST API](<https://devfeed.tech/topics/rest-api.md>), [API](<https://devfeed.tech/topics/api.md>), [JSON](<https://devfeed.tech/topics/json.md>), [HTTP](<https://devfeed.tech/topics/http.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [async](<https://devfeed.tech/tags/async.md>), [http](<https://devfeed.tech/tags/http.md>), [json](<https://devfeed.tech/tags/json.md>), [rest-api](<https://devfeed.tech/tags/rest-api.md>)

## AI overview

This tutorial introduces a more concise builder-pattern API for calling REST web services in Codename One 3.7. It shows how to build GET and POST requests, request parsed JSON results, and use HTTP headers, while noting that the API also includes asynchronous support under further development.

## Source excerpt

When discussing the features Chen slipped in just in the last minute of 3.7 I mentioned there were two such features but only discussed the desktop skin. The second one is a more terse/logical API for calling REST web services using the builder pattern. I actually discussed this briefly in the how do i video for networking & web services near the end. But that's one of those details that might have easily been missed in that video...