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

# POST (/ext/unattendedsetup/test)

> POST (/ext/unattendedsetup/test)

# POST (/ext/unattendedsetup/test)

通过在目标 XBOX One 开发主机上运行脚本来测试脚本。

* [URI 参数](#ID4EX)
* [必需的请求标头](#ID4E5)
* [必需的请求正文](#ID4EFB)
* [响应](#ID4EMB)

## URI 参数

无。

## 必需的请求标头

无。

## 必需的请求正文

符合多部分格式的 HTTP 正文，包含要运行的脚本文件。

## 响应

如果调用成功，服务将返回一个 JSON 对象，包含脚本输出和状态代码。

### HTTP 状态代码

服务针对使用此方法对此资源发出的请求返回本节中的一个状态代码。

| 代码 | 说明 |
| - | - |
| 200 | 操作成功。 |
| 4XX | 错误代码。 |
| 5XX | 错误代码。 |

## 另请参阅

##### 父级

[/ext/unattendedsetup/test](https://devdocs.xbox.com/zh-CN/reference/deviceportal/unattendedsetup/uri-extunattendedsetuptest)


## Related topics

- [Unattended Setup URIs (API contents)](https://devdocs.xbox.com/reference/deviceportal/unattendedsetup/atoc-rest-unattendedsetup.md)
- [Unattended Setup URI（API 内容）](https://devdocs.xbox.com/zh-CN/reference/deviceportal/unattendedsetup/atoc-rest-unattendedsetup.md)
- [URIs de configuração autônoma (conteúdo da API)](https://devdocs.xbox.com/pt-BR/reference/deviceportal/unattendedsetup/atoc-rest-unattendedsetup.md)
- [URI de configuración desatendida (contenido de la API)](https://devdocs.xbox.com/es/reference/deviceportal/unattendedsetup/atoc-rest-unattendedsetup.md)
- [URI de configuration sans assistance (contenu de l'API)](https://devdocs.xbox.com/fr/reference/deviceportal/unattendedsetup/atoc-rest-unattendedsetup.md)
