kartoza / cplus-api

Provides API for server side processing of CPLUS QGIS plugin
0 stars 0 forks source link

Read Requirement Document and Trends Earth #1

Open zamuzakki opened 8 months ago

zamuzakki commented 8 months ago

We need to use Trends.Earth as authentication. See how we could do it.

zamuzakki commented 8 months ago

We could make POST request to https://api2.trends.earth/auth

with payload

{
    "email": "email@domain.com",
    "password": "password"
}

And it will return

{
    "access_token": "access token"
}