Skip to content

It may be because I ran some program fragments and the website crashed again. #63

@ythong

Description

@ythong

It may be because I ran some program fragments and the website crashed again.
At first, https://jsonbin.org/ showed normal, then I ran the following program in the Chrome developer tools:

async function doit(action, tree, json) {
    const url = `https://jsonbin.org/me/${tree}`;
    const headers = new Headers({
        "Content-Type": "application/json",
        "Authorization": `token ****`
    });
    body = JSON.stringify(json)
    if (action == 'GET' || action=='DELETE')
        body = null;
    const response = await fetch(url, {
        method: action,
        headers: headers,
        body: body
    });
    const data = await response.text()
    console.log(data)
}

The following four steps are my memories.

1: doit('POST', '', {settings:{}});  //Unprocessable Entity
2: doit('POST', '', {});	//Unprocessable Entity
3: doit('DELETE', 'urls');	//there was an error, but I forgot what it was.
4: doit('GET', '');	//there was an error, but I forgot what it was.

After doing the above four steps, I go to https://jsonbin.org/, the page display:

We're sorry, but something went wrong.
If you are the application owner check the logs for more information.

The website crashed, sorry. Please ask @remy to see what happened, thank you.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions