Verify a Question is a Question

This will help double check that users are posting questions.

/services/v2/question/isQuestion.json?q=[data]

You can use the following parameters in your verify a question is new request:

Search: q
Other options: wrap, v1

🚧

Permissions & Notes:

  • You must have the "Use site" permission under Anonymous Roles in the Advanced Editor.

  • The request parameter q specifies the text to search for (in the body of a question).

    • This is a required field.
  • The response is a boolean value.

  • We added this request in version 1.6.3.

Sample Request

A GET verify a question is new request for a question ("Is it secret?") sent to https://apidocs.cloud.answerhub.com using a human-readable Username/Password (answerhub/test123) would look like this:

curl 
-u answerhub:test123 
-H "Accept: application/json" 
-H "Content-type: application/json" 
-X GET "https://apidocs.cloud.answerhub.com/services/v2/question/isQuestion.json?q=Is%20it%20secret?"

Expected Response

Successful Response:

  • HTTP Status 200 - OK
{
    "result": true
}
Language
Authentication
Basic
base64
:
Click Try It! to start a request and see the response here!