> For the complete documentation index, see [llms.txt](https://exolabs-ch.gitbook.io/cosmos/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://exolabs-ch.gitbook.io/cosmos/massive-request-along-multiple-paths.md).

# Massive request along multiple paths

## Massive Request

<mark style="color:green;">`POST`</mark> `https://p20.cosmos-project.ch/<service URL>`

A post request along with an attached file. The file must be a geojson of lines in EPSG:3857, must be named 'lines.geojson' and encoded in UTF8. \
\
Tested performance: \~ 1 million points in \~ 1 minute.\
**Note: \~ 30 seconds base time. Use standard requests for a small sample size.**&#x20;

#### Path Parameters

| Name          | Type   | Description               |
| ------------- | ------ | ------------------------- |
| lines.geojson | object | File containing the paths |

{% tabs %}
{% tab title="200 JSON response containing values at coordinates.
Value -1 = NoData | Out of bounds" %}

```javascript
{
    'type': 'FeatureCollection',
    'name': 'snow_depth_alps',
    'crs': {'type': 'name', 'properties': {'name': 'urn:ogc:def:crs:EPSG::3857'}},
    'features': [
        [{
            'type': 'Feature',
            'id': '0',
            'properties': {
                'snow_depth': [21, 29, ...],
                'units': 'cm'
            },
            'geometry': {
                'type': 'LineString',
                'coordinates': [[806372.4103808167, 5649885.906446901], ...]
            }
        }...
    ]
}
```

{% endtab %}
{% endtabs %}
