# Convert cURL to Python and JS

**Use case:** 

Turn common GET and POST cURL commands into ready-to-use Python requests and JavaScript fetch code.

## Input

```json
{
  "curlCommands": [
    "curl https://api.example.com/v1/users?limit=10 -H 'Accept: application/json'",
    "curl -X POST https://api.example.com/v1/users -H 'Content-Type: application/json' -d '{\"name\":\"Jane\",\"email\":\"jane@example.com\"}'"
  ],
  "languages": [
    "python",
    "javascript"
  ]
}
```

## Output

```json
{
  "curlCommand": {
    "label": "cURL Command",
    "format": "text"
  },
  "conversions": {
    "label": "Conversions",
    "format": "object"
  },
  "errors": {
    "label": "Errors",
    "format": "object"
  },
  "success": {
    "label": "Success",
    "format": "boolean"
  }
}
```

## About this Actor

This example demonstrates how to use [cURL to Code Converter](https://apify.com/automation-lab/curl-to-code-converter) with a specific input configuration. Visit the [Actor detail page](https://apify.com/automation-lab/curl-to-code-converter) to learn more, explore other use cases, and run it yourself.