2

I created one app to post questions to Stack Exchange Websites. While checking in doc page of my application, i.e., https://api.stackexchange.com/docs/create-question, the question is posted. If I do it repeatedly, my account would be suspended. Is there any test Stack Exchange website to check this?

Also, if I am checking my application, then posting many questions also would be a problem. So, do we have a solution for this?

3
  • 1
    For testing purposes, you can set preview parameter to true so your question will not be written to StackExchange database. Jun 29, 2015 at 21:49
  • Can you post this as answer to the question? I checked it by repeatedly running the same function. Its not giving me any error that this question is already asked. Although, it doesn't give all the parameters as requested, like question_id. Also, give reference.
    – amit jha
    Jun 30, 2015 at 6:58
  • OK I added this as an answer. This question was basically the same as your other question but asked from a different perspective :) So although the answer is a dublicate the question is not IMHO. Jun 30, 2015 at 7:27

1 Answer 1

1

The answer to this question is the same to your other question about preview parameter.

As @BrockAdams mentioned in a comment to one of my questions previously, you need to set preview parameter to true while testing write API calls.

Please check the other answer for more information.

3
  • While posting this question, I wasn't knowing that I will be posting two question having the same answer.
    – amit jha
    Jun 30, 2015 at 7:32
  • Yes this is asked from a different perspective :) The answers being the same is by chance. Hope the answer helps. Jun 30, 2015 at 10:53
  • thanks birkan!! I have been trying for so long. finally i could post. Dec 17, 2016 at 18:48

Not the answer you're looking for? Browse other questions tagged .