Access Using JWT and API Key
From DreamFactory
For non-admin users, DreamFactory APIs should be consumed with a JWT (token) from an authenticated session and an application API key. The API Key tells the system what app the call is being made for. The system will use the API key to look up the role assigned to the user for that app, and limit access to what is allowed by that role.
Request:
GET https://foo.com/api/v2/db/_table?session_token=abc.123.efg&api_key=xyz123abc
- HTTP method: GET
- URL: https://foo.com/api/v2
- Service: db
- Resource: _table
- Session token: abc.123.efg
- API key: xyz123abc
Note: Session token can also be supplied using the X-DreamFactory-Session-Token request header. API key can also be supplied using the X-DreamFactory-Api-Key request header.