Random

Book of Answers (POST)

0calls
Free

Ask the Answer Book through a POST request and receive a mysterious answer.

POST
uapis.cn
/api/v1/answerbook/ask
Body
question
string
required

The question you want to ask

Overview

Similar to the GET method, but the question is sent through the JSON request body, making it suitable for scenarios where a longer question needs to be sent or to avoid URL encoding issues.

Request Body Format

The request body must be a valid JSON format containing the question field.

Request body

question
stringrequired

The question you want to ask

Response

200 / OK

Answer retrieved successfully.

JSON
{
  "question": "Should I accept this job offer?",
  "answer": "Focus on the present"
}

400 / Bad Request

Invalid request parameters.

JSON
{
  "code": 400,
  "message": "Question cannot be empty"
}

500 / Internal Server Error

Internal server error.

JSON
{
  "code": 500,
  "message": "Internal Server Error"
}