30

This is the same concept as the first sandbox.

Why do we need more than one? this is in order to test the API, some methods support vectored ids (for example /questions/id1;id2/comments) and for that two sandbox are needed.

enter image description here

33 Answers 33

9

How can you test a question w/out an answer?

  • 6
    Test comment... beep! – uɐɯsO uɐɥʇɐN Jul 25 '10 at 20:12
  • does this change the last update? – Glenn Bech Oct 2 '11 at 23:27
  • This comment was posted with version 2.1 of the API. – uɐɯsO uɐɥʇɐN Jul 20 '12 at 4:22
  • This is the second comment posted with, well, you get the idea. – uɐɯsO uɐɥʇɐN Jul 20 '12 at 4:41
6
+50

This is a test, for an API, sort-of.

  • 5
    I'd rather commit a quick fraudulent bounty transfer than flood the home page by bumping a bunch of questions with pointless minor suggested edits. I'm trying to give this account 20+ rep so it can test the MSE chat. – user3557535 Apr 28 '14 at 22:28
  • 1
    truly, this is exemplary – mhlester Apr 28 '14 at 22:35
  • 3
    Wait, how can a bounty be awarded to a community wiki post? – Steven M. Vascellaro May 7 '17 at 13:43
3

This is a dummy answer to test the API!

  • here is another dummy comment! – user1560064 Jul 29 '12 at 15:31
  • comment comment comment – user1536377 Aug 18 '12 at 23:17
  • another test comment – user1536377 Aug 20 '12 at 16:27
2

Spec for Client with random 646713442; this is part of StackExchangeApiClient tests.

2

Another test answer for testing purposes

1

I guess I have to answer this to test my cool Android app.. :-)

1

YET Another test answer for testing purposes

1

?

​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​

  • 1
    @Lix Ok fine THIS ---> ‮҉ – qwertynl 1 min ago – Lix Dec 23 '13 at 20:16
  • ever plan on revealing how you do that!?? :P – ᔕᖺᘎᕊ May 27 '15 at 15:11
  • @ᔕᖺᘎᕊ - Are you talking about the actual post or the comment? :P – Lix May 28 '15 at 9:04
  • 1
    the comment :) I can see how you did the post! – ᔕᖺᘎᕊ May 28 '15 at 11:26
  • Ok fine THIS ---> ‮҉ – qwertynl 1 min ago – ᔕᖺᘎᕊ May 28 '15 at 11:27
  • WAIT WHAT?? @Lix I DID IT! – ᔕᖺᘎᕊ May 28 '15 at 11:28
  • @ᔕᖺᘎᕊ - hehe... yes. There is a special unicode character in there (non printable so you don't see it) that mirrors/flips text. – Lix May 28 '15 at 11:28
  • cool! Thanks :) THAT IS COOL! :) – ᔕᖺᘎᕊ May 28 '15 at 11:29
  • @ᔕᖺᘎᕊ There are lots of tools out there to do this kind of thing for you. For example: twiki.org/cgi-bin/view/Blog/BlogEntry201211x1 – Lix May 28 '15 at 11:29
  • thanks for the link :) You can see my my username I like fiddling with these kinds of things :P – ᔕᖺᘎᕊ May 28 '15 at 11:29
  • @ᔕᖺᘎᕊ In that case you'll probably like this one: marlborotech.com/Zalgo.html If you haven't already seen it around the site :) Specifically this post – Lix May 28 '15 at 11:31
  • @ᔕᖺᘎᕊ - zero width characters is how my post here is only "one" character – Lix May 28 '15 at 11:32
  • 1
    yeah i've seen that - it took my ages to find out what it was tho! And yeah - I though so :) – ᔕᖺᘎᕊ May 28 '15 at 11:32
  • @ᔕᖺᘎᕊ Stack Exchange is pretty tolerant of unicode shenanigans... but just don't abuse the power :P As you can see, comment sections can get pretty unruly. – Lix May 28 '15 at 11:33
1

another test answer for me to test with? Test edit /community

1

Spec for Client with random 780718851; this is part of StackExchangeApiClient tests.

  • Test Comment for Editing 2 – AVK Sep 3 '18 at 21:47
1

Spec for Client with random 409371460; this is part of StackExchangeApiClient tests.

1

Heading 1

Headign 2

Heading 3

Another API answer to test the might of Stack Exchange code

Code stuffs: hehe ~~,ml,mn~~


alert('hehehe')
h1 {
  color: red
}
<h1>Test snippet!</h1>
<ul>
  <li>Hello</li>
  <li>Hello there</li>
</ul>


asdfa dfasd f test

Other stuff

1

This is a test of MathOverflow's new interface to Zentralblatt.

// Run a search
function runSearch() {
    goBack();
    $('#popup-cite .search-spinner').removeSpinner().addSpinner();
    $.getJSON('https://zbmath.org/citationmatching/mathoverflow', { 'q': 'planar algebras' }, fetchCallback);
}

// Callback to run when search completes.
function fetchCallback(response) {
        
        var html = $('<div class="list">');
        for (var i = 0; i < response.results.length; i++) {
            var result = response.results[i];
            var zbl = 'https://zbmath.org/?q=an:' + result.zbl_id;

            var link = result.links.length > 0 ? result.links[0] : '';
            var arxiv = '';
            for (var j = 0; j < result.links.length; j++) {
                     arxiv = result.links[j].includes("arxiv") ? result.links[j] : arxiv;
                }
            var authors = sanitizeForDisplay(result.authors);
            var title = sanitizeForDisplay(result.title);
            var citationHtml = sanitizeForDisplay(result.source);

            var result = $('<div class="item" style="float:none;padding:5px">')
                .html($('<div class = "summary post-link" style="float:none;width:auto;font-weight:bold;">')
                    .text(title))
                .append('<br/>')
                .append($('<span class="body-summary" style="float:none"></span>')
                    .append(authors + '<br/>' + citationHtml + '<br/> Preview (opens in new tab): ')
                    .append(renderOptionalLink(link, 'article'))
                    .append(renderOptionalLink(zbl, 'zbmath'))
                    .append(renderOptionalLink(arxiv, 'arxiv'))
                )
                .click(loadResultCallback(link, result))
                .hover(function () { $(this).css('background-color', '#e6e6e6') }, function () { $(this).css('background-color', '#fff') });

            html.append(result);
            result.find('a').on('click', function(e) { e.stopPropagation(); });
        }
        $('#results').html('').append(html);
        MathJax.Hub.Queue(['Typeset', MathJax.Hub, 'results']);
        $('#popup-cite .search-spinner').removeSpinner();
}

function getCitationHtml(json) {
  var arxiv = '';
  for (var j = 0; j < json.links.length; j++) {
    arxiv = json.links[j].includes("arxiv") ? json.links[j] : arxiv;
  }
  var cite = $('<cite>').attr('authors', json.authors)
          .append('_' + json.authors + '_, ')
          .append('[**' + json.title + '**](' + encodeURI(json.links.length > 0 ? json.links[0] : '') + '), ')
          .append(json.source + ' [ZBL' + json.zbl_id + '](https://zbmath.org/?q=an:' + json.zbl_id + ')')
          .append(arxiv ? ' [arXiv:' + arxiv.split('/').pop() + '](' + arxiv + ')' : '')
          .append('.');

  var citeContainer = $('<span></span>').append(cite).html();

  return citeContainer;
  }


// MathJax stub
var MathJax = {Hub: {Queue: function(arr) { }}};


// stubs
function sanitizeForDisplay(html) {
    return html;
}
 
function goBack() { }

function renderOptionalLink(href, text) {
    if (href) {
        return $(sanitizeForDisplay($('<a>').attr('href', href).text(text + ' ').prop('outerHTML'))).attr('target', '_blank');
    } else {
        return '';
    }
}

function loadResultCallback(link, result) {
  return function() {
    var html = getCitationHtml(result);
    $('#link').html('').append(html);
  }
}

$.fn.extend( { removeSpinner  : function() { return this; } });
$.fn.extend( { addSpinner  : function() { return this;} });
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<div id="testcases">
  <button onclick="javascript:runSearch();">Search "planar algebras"</button>

</div>

<div id="results">
  No results yet.
</div>
<div id="link">
  No link yet.
</div>
</div>

1

some more testing with this answer......

testing here: edit answer

asdasdas

0

comes to his because spent 4 weeks says abstains murky buddy

  • comments are very bad – icyrock.com Mar 29 '12 at 0:40
  • never been better – icyrock.com Mar 29 '12 at 0:40
  • This is a test comment 123 – AVK Sep 8 '18 at 18:55
0

Another test answer for testing purposes

  • 1
    hi @ChuckBatson – Chuck Test Jan 12 '15 at 14:53
  • hi there @ChuckTest – Chuck Batson Jan 12 '15 at 15:43
  • things are well here @ChuckTest thanks for asking – Chuck Batson Jan 12 '15 at 16:59
0

Just testing - body must be at least 30 characters

  • ­­­­­­­­­­­­­­­ – John Militer May 26 '17 at 20:09
  • 1
    Comments must be at least 15 characters, as you can see above. – John Militer May 26 '17 at 20:10
0

Spec for Client with random 1525546784; this is part of StackExchangeApiClient tests.

0

Spec for Client with random 1314354391; this is part of StackExchangeApiClient tests.

0

As workaround you can set 'DefaultSenderID'

#!/usr/bin/env python

import boto3

s = boto3.Session(profile_name='Godzilla')
sns = s.client('sns')

sns.set_sms_attributes(
    attributes={
        'DefaultSenderID': 'Godzilla',

    }
)

response = sns.get_sms_attributes(
    attributes=[
        'DefaultSenderID',
    ]
)

print(response)
  • Test for comment. As workaround you can set 'DefaultSenderID' <!-- language: lang-py --> #!/usr/bin/env python import boto3 s = boto3.Session(profile_name='Godzilla') sns = s.client('sns') sns.set_sms_attributes( attributes={ 'DefaultSenderID': 'Godzilla', } ) response = sns.get_sms_attributes( attributes=[ 'DefaultSenderID', ] ) print(response) – tuxar Nov 30 '16 at 20:12
0

Hello World :) :)Testing answer API (https://api.stackexchange.com/docs/create-answer)

0

Hello World :) :) Testing a sample comment

0

Yet another test answer for testing purposes

0

Test, please ignore it.

Blah, blah .. blah?

0

Hello World :) :) Testing a sample answer. Testing Editing answer now.

Update: Now I am testing Editing on Answers.

Update: 2nd Attempt

Update: 3rd Attempt

Update: 4th Attempt

Update: Final Attempt to Test Editing

Update: 2nd Final Attempt to Test Editing

NavigationCacheMode="Enabled"

Done Testing. Last Testing. Navigation Back Final Testing.

Update: Testing after long time to make sure app still works.

0

enter image description here

  • 2
    _______________| – user697004 May 10 '17 at 9:49
-1

Just testing - body must be at least 30 characters

  • 3
    Are you sure about this? I am not sure Are you sure about this? I am not sure Are you sure about this? I am not sure Are you sure about this? I am not sure Are you sure about this? I am not sure – Glenn Bech Oct 2 '11 at 23:40
  • ­­­­­­­­­­­­­­­ – John Militer May 26 '17 at 20:12
-1

there is no more, this is the end. goodbye.

-1

Going wild with dem dank memes:

memes:

yay...

alt

alt

updating answer 22222. sdfasd fasdf a

  • 1
    why the downvote? I'm trying to test the API here :D – Titus Jun 3 '16 at 18:49
  • 10
    Maybe someone is testing downvotes via the API... ;) – Shadow Wizard Jun 3 '16 at 19:05
  • 1
    Lmao oh my God that somehow never occured to me! #dying – Titus Jun 3 '16 at 19:13

You must log in to answer this question.

protected by Community Feb 5 at 2:01

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

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