# 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 %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://exolabs-ch.gitbook.io/cosmos/massive-request-along-multiple-paths.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
