# Viewing Response Details

The Response tab displays the results of the executed API request. It allows you to verify the returned data and response details before adding the API to a Test Case. The tab includes two sections:&#x20;

* **Body**: Shows the main content of the API response in JSON and XML format.
* **Header**: Displays response headers such as status code, content type, and other metadata.&#x20;

To view and validate the API response, perform the following actions:&#x20;

1. On the **Element Repository** page, after sending an API request, select the **Response** tab.&#x20;
2. On the **Response** tab, you can validate an API response using the following tabs:&#x20;

<details>

<summary>Body</summary>

The **Body** tab displays the response returned by the server. The content is displayed in JSON, XML, or raw format depending on the server returns.

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2F68DpNm9lV14AgWT29q3p%2Funknown.png?alt=media&#x26;token=5da53e07-a498-4086-8a17-4891cf8949e1" alt=""><figcaption></figcaption></figure>

</details>

<details>

<summary>Header</summary>

The **Header** tab displays the **HTTP status code**, **Server**, **response time**, **Content-Type**, and **Length**.

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2FqWSSIV5RPhP8bmwP8prs%2Funknown.png?alt=media&#x26;token=d2dba919-287d-4ba8-8721-d4660a2d4d9a" alt=""><figcaption></figcaption></figure>

</details>

{% hint style="info" %}
**Note**:&#x20;

* After validating the API Response, you can save the validated API configuration. Go to the **Request** tab and select the **save** button to store the configuration for reuse in future.
* The saved element can be used in while creating API Test Cases. &#x20;
  {% endhint %}
