en:server_api
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:server_api [2026/06/03 09:30] – administrator | en:server_api [2026/06/03 09:55] (current) – [API URL] administrator | ||
|---|---|---|---|
| Line 23: | Line 23: | ||
| https:// | https:// | ||
| - | {' | + | **Authentication method** |
| - | # Authentication method | + | |
| To use iGarment API, you need to obtain a API KEY from your account manager and put the domain (database name) and the api-key in the Authorization Header of each HTTP request. Note that Authorization Header needs to be encoded in Base64. | To use iGarment API, you need to obtain a API KEY from your account manager and put the domain (database name) and the api-key in the Authorization Header of each HTTP request. Note that Authorization Header needs to be encoded in Base64. | ||
| Line 30: | Line 29: | ||
| Example, let said you want to send an api request for the domain ' | Example, let said you want to send an api request for the domain ' | ||
| - | ```python | + | |
| - | keyinfo = base64.b64encode(b' | + | headers = {' |
| - | headers = {' | + | |
| - | } | + | |
| - | '} | + | |
| (Example in Apifox) | (Example in Apifox) | ||
| - | var cryptoJs = require(" | + | |
| - | + | ||
| - | const igx_key = ' | + | const igx_key = ' |
| - | const keyArray = cryptoJs.enc.Utf8.parse(igx_key); | + | const keyArray = cryptoJs.enc.Utf8.parse(igx_key); |
| - | pm.environment.set(" | + | pm.environment.set(" |
| + | |||
| ===== Error ===== | ===== Error ===== | ||
| Line 65: | Line 63: | ||
| ===== API Specification by catagory ===== | ===== API Specification by catagory ===== | ||
| - | Database Query API (url: ~/db) | + | * [[db_api|Database Query API]] |
| - | Document API (url: ~/jdoc) | + | |
| + | * [[doc_api|Document API]] | ||
en/server_api.1780479021.txt.gzip · Last modified: by administrator
