Getting Started
Official Site
Getting Started
Official Site
  • Document description
  • Read before you start

  • Light application development guide

  • Mobile application development guide

  • Cloud live development guide

  • Desktop application development guide

  • Third party development guide

  • Message push development guide

  • IoT things data model

  • HTTP interface

    • Development specification
    • API privacy policy
    • Postman interface simulation call
    • accessToken: Get administrator token
    • API request example
    • Account docking
    • Push configuration
    • Cloud storage service
    • Equipment management

    • Device configurat

    • Video equipment

    • Device message
    • Device live broadcast
    • Device lock access
  • Reference documents

On this page
1. Download and install Postman
2. import Lecheng api interface package and environment
3. call interface example
4、request other interfaces

Postman Interface Simulation Call for API Development - Imou Open Platform

postman interface simulation call

1. Download and install Postman

Postman is a powerful Chrome plug-in for web page debugging and sending web page HTTP requests.

Portal: https://www.jianshu.com/p/0c247b351f08

It is recommended to download the latest postman installation package for installation.

2. import Lecheng api interface package and environment

After installing Postman, import the "Lecheng Open Platform api interface docking.postman_collection.json" file in Lecheng api interface package

Demo picture

Import the environment variable file "online.postman_environment.json" and set the appId and appSecret values.

Demo picture

Demo picture

Demo picture

3. call interface example

Call the "Get accessToken" interface first, and the latest accessToken will be automatically set to the environment variable after successful acquisition.

Demo picture

Demo picture

Call the "Get Device List" interface.

Demo picture

4、request other interfaces

Currently, some interface request examples are provided. Developers can copy existing protocols, modify interface URLs and parameters to generate other API interfaces.

Copy current interface: Demo picture


Modify to the new interface URL and interface parameters in the copied example to request the new interface: Demo picture

API privacy policy
accessToken: Get administrator token