---
title: "Auto-Populate the Response Type when Formulating an API Request"
slug: "auto-populate-the-response-type-when-formulating-an-api-request"
description: "You can now auto-populate and update the response type when formulating an API Request."
tags: ["API Testing", "Test Modeller"]
updated: 2023-09-15T09:44:51Z
published: 2023-09-15T09:44:51Z
canonical: "knowledge.curiositysoftware.ie/auto-populate-the-response-type-when-formulating-an-api-request"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://knowledge.curiositysoftware.ie/llms.txt
> Use this file to discover all available pages before exploring further.

# Auto-Populate the Response Type when Formulating an API Request

You can now auto-populate and update the response type when formulating an API Request.

[Embedded content](https://www.youtube.com/embed/rEF7nI7L828?&amp;wmode=opaque&amp;rel=0)

When editing your **API Request** in the **Edit Function window,** you can now always add a **Response type.** When adding a Response type, the**Return Type**will now be auto-populated.

![](https://cdn.document360.io/77f722a6-2d0a-49fa-8074-572515a6c4b8/Images/Documentation/Screenshot%202023-09-15%20104406.png)

There are 4 types of responses to choose from:

- **Regex**- String Return
- **JSON** - String Return
- **Response** - Returns Response
- **Cookie Value**- String Return

![](https://cdn.document360.io/77f722a6-2d0a-49fa-8074-572515a6c4b8/Images/Documentation/Screenshot%202023-09-15%20104400.png)
