> For the complete documentation index, see [llms.txt](https://developer.aliothx.net/start/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.aliothx.net/start/common/index/json.md).

# 데이터통신과 JSON 파싱

## API 통신 시작 (GET/POST)

#### 데이터 통신 시작

1. 앱을 실행하고 "**API 통신 시작 (GET)**" 또는 "**API 통신 시작 (POST)**" 버튼을 누릅니다.

<div align="left"><figure><img src="/files/v9EuKqdeZqZeX0E1kMqY" alt=""><figcaption></figcaption></figure></div>

2. 요청이 시작되면 화면에 현재 요청 메서드(GET 또는 POST) 및 요청 시간이 표시됩니다.

<div align="left"><figure><img src="/files/OU8UrF8MxzPrOXoqDZgj" alt=""><figcaption></figcaption></figure> <figure><img src="/files/vo4SyaWAdEuXzENZ2wHc" alt=""><figcaption></figcaption></figure></div>

## API 통신 중지

통신을 중지하려면 "**API 통신 중지**" 버튼을 누릅니다. 이로써 현재 진행 중인 통신이 중지되며 응답 및 요청 시간은 초기화됩니다.

## JSON 파싱

API 요청이 완료된 후에는 응답 데이터를 JSON 형식으로 파싱할 수 있습니다.&#x20;

1. API 통신이 완료된 후 "**JSON 파싱**" 버튼을 누릅니다.

<div align="left"><figure><img src="/files/CSqF0tBiZcvAF3tFTgFJ" alt=""><figcaption></figcaption></figure></div>

2. 파싱된 데이터는 화면에 표시되며, 다양한 정보가 포함된 JSON 데이터를 살펴볼 수 있습니다.

## 데이터 구조

파싱된 데이터는 다음과 같은 정보들을 포함합니다.&#x20;

#### **Header** 정보

* Command
* Version
* Code
* Message
* Language

#### Body 정보

* IP
* Hostname
* Interval Time
* Total Space
* Free Space
* Usable Space
* CPU Usage
* Free Memory
* Total Memory
* Mail Nohup
* Push Nohup
* Catalina Out
* WAS Connection

Flutter를 사용하여 데이터 통신을 시작하고 JSON 데이터를 파싱하는 방법을 참고하여, 데이터 통신 작업을 수행해보세요.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://developer.aliothx.net/start/common/index/json.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
