Type
Everything you need to know regarding response type.

What exactly does it change?

It only changes the structure of the api response it is not that this function is very important but it can be useful sometimes.

Usage:

1
https://kawaii.red/api/gif/kiss/token=token&type=txt/
Copied!

Json Response:

1
{"response": "https://api.kawaii.red/gif/kiss/kiss1.gif"}
Copied!

Text Response:

1
"https://api.kawaii.red/gif/kiss/kiss1.gif"
Copied!
The default type is json.
​
Last modified 5mo ago
Copy link