Skip to content

Get Token

liqian-simit edited this page Sep 3, 2019 · 2 revisions

GET Token

There are two methods to retrieve the token from SIMBIZ system.

  1. By using URL

http(s)://simbiz_system_url/api.php?uid=__uid__&module=system&action=manualLogin&password=__password__

  1. By using CURL in the terminal console.
curl --header "Content-Type: application/x-www-form-urlencoded" \
--request POST \
--data '
{
	"action":"manualLogin",
	"module":"system",
	"uid":"admin",
	"password":"123"
}
' \
https://simbiz_system_url/simbiz/api.php

The token will be used in various API related action. So user need to retrieve the token before any API calling action.