# Code Generator

> Convierte las solicitudes capturadas en fragmentos de código para cURL, Swift, Python, Go, Kotlin, JavaScript y otros con la pestaña Code Generator de Proxyman.

## 1. ¿Qué es? {#1-whats-it}

Code Generator convierte tus solicitudes HTTP/HTTPS capturadas en código listo para usar en muchos lenguajes y herramientas.

Lenguajes y formatos compatibles:

* cURL
* HTTPie
* HAR
* Postman Collection 2
* Axios
* Dart
* Go
* Java + HTTPClient
* JavaScript + jQuery
* Kotlin + OkHttp
* Node + HTTP
* Node + Fetch
* PHP + Guzzle
* Python + Request
* Rust + reqwest
* Objective-C + NSURLSession
* Swift + Alamofire 5
* Swift + Moya
* Swift + URLSession

![Pestaña Code de Proxyman con código Swift + Alamofire 5 generado a partir de una solicitud GET capturada](https://proxyman.com/docs/assets/code-generator.png)

## 2. ¿Cómo se abre la pestaña Code Generator? {#2-how-to-open-the-code-generator-tab}

1. En el panel Request, haz clic en el botón "+"
2. Aparece la ventana Custom Previewer Tab → marca la casilla **Code Generator**

![Ventana Custom Previewer Tab de Proxyman con Code Generator marcado y la pestaña Code mostrando código Swift](https://proxyman.com/docs/assets/CleanShot%202025-01-29%20at%203%E2%80%AF.44.21%402x.jpg)

_Cómo abrir la pestaña Code Generator_

* Se añade una nueva pestaña **Code** al panel Request → selecciona cualquier lenguaje para mostrar el código

## 3. ¿Te falta tu biblioteca favorita? {#3-missing-your-favorite-library}

Si no encuentras tu biblioteca, puedes:

* Crear una [incidencia en GitHub](https://github.com/ProxymanApp/Proxyman/issues).
* Hacer un fork del [repositorio Code-Generator-Plugin](https://github.com/ProxymanApp/code-generator-plugin) y abrir un PR. Agradecemos tu contribución 🙇‍♂️
