---
title: "Send data from Pico LTE to scriptr.io"
description: "Send data from the Pico LTE to a scriptr.io script over HTTP, on the cellular connection, with a script created by scriptr.io's Creatr demo."
url: "https://docs.sixfab.com/cellular/pico-lte/micropython-sdk/send-data-scriptr-io/"
last_updated: "2026-10-12"
---

# Send data from Pico LTE to scriptr.io

Send data from the Pico LTE to a scriptr.io script over HTTP, on the cellular connection, with a script created by scriptr.io’s Creatr demo.

This example sends data from the Pico LTE to a [scriptr.io](https://www.scriptr.io/) script over HTTP, on the cellular connection. Scriptr.io runs server-side scripts: backend APIs for IoT projects, developed and run in a web-based environment. The script is created with scriptr.io’s Creatr demo. No extra hardware is needed.

## Before you begin

**Required**

**Hardware**

- **Sixfab Pico LTE or Pico LTE 2**: Registered and active in Sixfab Connect, connected to the computer with the micro USB cable.

**Software**

- **Thonny with MicroPython and the Pico LTE SDK**: Set up as in the [quickstart](https://docs.sixfab.com/cellular/pico-lte/quickstart/).
- **config.json**: In the root of the board: [Prepare the configuration file](https://docs.sixfab.com/cellular/pico-lte/micropython-sdk/configuration-file/).
- **Scriptr.io account**: Sign in at [scriptr.io/login](https://www.scriptr.io/login), or register at [scriptr.io/register](https://www.scriptr.io/register).

## Prepare scriptr.io

1. **Test workspace.**

   In your workspace, open the default **Hello Device** script and click **Run**: it sends a first request.

   ![Scriptr.io workspace running the HelloDevice script with console result Hello! and status 200](https://docs.sixfab.com/wp-content/uploads/sixfab-docs/Connect_Pico_LTE_to_the_Scriptr.io_Dashboard_1.webp)

2. **Start Creatr demo.**

   Creatr connects a device to scriptr.io, creates a script for a use case and shows the device’s data. Open the [Creatr page](https://www.scriptr.io/creatr) and click **GET STARTED**.

3. **Select Other Device.**

   ![Scriptr.io Select your Data Source page with the Other Device option highlighted](https://docs.sixfab.com/wp-content/uploads/sixfab-docs/Connect_Pico_LTE_to_the_Scriptr.io_Dashboard_2.webp)

4. **Create device.**

   Enter the device name and choose **My device will push the data to a script**.

   ![Scriptr.io Onboard your device form, device PicoLTE, option My device will push the data to a script selected](https://docs.sixfab.com/wp-content/uploads/sixfab-docs/Connect_Pico_LTE_to_the_Scriptr.io_Dashboard_3.webp)

5. **Select HTTP.**

   Creatr creates the script. Note the **scriptName** and the **Authorization** token, then click **Next**.

   ![Scriptr.io Select your Protocol page with HTTP selected and Url, scriptName and Authorization fields](https://docs.sixfab.com/wp-content/uploads/sixfab-docs/Connect_Pico_LTE_to_the_Scriptr.io_Dashboard_4.webp)

## Run example

1. **Set script and token in config.json.**

   `query` is the scriptName, with a slash in front (`/scriptName`); `authorization` is the token.

   ```json
   {
       "scriptr": {
           "query": "QUERY_OF_SCRIPT",
           "authorization": "YOUR_TOKEN"
       }
   }
   ```

2. **Run send_data.py.**

   Open `examples/scriptr/send_data.py` from the [SDK repository](https://github.com/sixfab/pico_lte_micropython-sdk) in Thonny and click **Run**.

   ![Thonny with Pico LTE send_data.py example showing the scriptr query and authorization config](https://docs.sixfab.com/wp-content/uploads/sixfab-docs/Connect_Pico_LTE_to_the_Scriptr.webp)

   ```text
   INFO: Sending data to scriptr.io script...
   INFO: Result: {'status': 1, 'response': ['+QHTTPPOST: 0,400'], 'interval': 0}
   ```

3. **Check data.**

   In Creatr, choose the language of your device for the generated code and click **Next**. The received data appears on the Creatr page.

   ![Scriptr.io Visualize your data page showing received data {"temp":"25"}](https://docs.sixfab.com/wp-content/uploads/sixfab-docs/Scriptr.io_API_Usage_with_Pico_LTE_5.webp)

   The rest of the demo is in the [scriptr.io tutorial](https://blog.scriptr.io/connecting-your-device-to-scriptr-io-using-creatr/).

   ![Scriptr.io data mapper with Input JSON temp 25 and Smart container Output JSON](https://docs.sixfab.com/wp-content/uploads/sixfab-docs/Scriptr.io_API_Usage_with_Pico_LTE_6.webp)

   In the workspace, the data and the JSON map generated for it are shown.

   ![Scriptr.io workspace showing the generated PicoLTE mapper script with input and output JSON](https://docs.sixfab.com/wp-content/uploads/sixfab-docs/Scriptr.io_API_Usage_with_Pico_LTE_7.webp)
