curl --location --request GET 'https://api.lawg.dev/v1' \ --header 'Content-Type: application/json' \ --header 'Authorization: Token <token>'
{ "success": true, "data": { "message": "...heeeellloooo from v1 api" } }
Indicates whether the call was successful. true if successful, false if not.
true
false
The contents of the data object
Show Toggle object
Just a small message to show you you’re on the track to logging your own logs ;)