1.7.0
OAS 3.1.0
Whipcode
This reference documents all request parameters and responses.
Not compatible with the repository version as RapidAPI affects some of the responses.
API Key (X-RapidAPI-Key)
Client Libraries
This reference documents all request parameters and responses.
Not compatible with the repository version as RapidAPI affects some of the responses.
Executes the provided code snippet.
Request body
The source code, base64 encoded
ENCODED_CODE
Language ID of the submitted code
1
Compiler arguments separated by spaces
Execution timeout in seconds
Standard input passed to the execution
Key-value pairs to add to the environment
{
"VAR": "VALUE"
}
curl --request POST \
--url https://whipcode.p.rapidapi.com/run \
--header 'Content-Type: application/json' \
--data '{
"code": "ENCODED_CODE",
"language_id": 1,
"env": {
"VAR": "VALUE"
}
}'
{
"stdout": "…",
"stderr": "…",
"container_age": 0.4347,
"timeout": false
}
Successful request