205

Reset Content

2xx Success The request succeeded and the client should reset the document view

Code Examples

Here are examples of how to test HTTP 205 responses in different programming languages:

Select options below to see how to use advanced features in your code:

Request:
curl https://free.mockerapi.com/205
Response Body:
{
  "success": true,
  "status": 205,
  "statusText": "Reset Content - The request succeeded and the client should reset the document view",
  "timestamp": "2025-10-08T10:30:45.123Z",
  "request": {
    "method": "GET",
    "url": "/205",
    "fullUrl": "https://free.mockerapi.com/205"
  }
}
Request:
fetch('https://free.mockerapi.com/205')
  .then(response => {
    console.log('Status:', response.status); // 205
    return response.json();
  })
  .then(data => {
    console.log('Success:', data);
  })
  .catch(error => {
    console.error('Error:', error);
  });
Response Body:
{
  "success": true,
  "status": 205,
  "statusText": "Reset Content - The request succeeded and the client should reset the document view",
  "timestamp": "2025-10-08T10:30:45.123Z",
  "request": {
    "method": "GET",
    "url": "/205",
    "fullUrl": "https://free.mockerapi.com/205"
  }
}
Request:
import requests

response = requests.get('https://free.mockerapi.com/205')

print(f'Status Code: {response.status_code}')  # 205
print(f'Response: {response.json()}')
Response Body:
{
  "success": true,
  "status": 205,
  "statusText": "Reset Content - The request succeeded and the client should reset the document view",
  "timestamp": "2025-10-08T10:30:45.123Z",
  "request": {
    "method": "GET",
    "url": "/205",
    "fullUrl": "https://free.mockerapi.com/205"
  }
}
Request:
Response Body:
{
  "success": true,
  "status": 205,
  "statusText": "Reset Content - The request succeeded and the client should reset the document view",
  "timestamp": "2025-10-08T10:30:45.123Z",
  "request": {
    "method": "GET",
    "url": "/205",
    "fullUrl": "https://free.mockerapi.com/205"
  }
}
Request:
require 'net/http'
require 'json'

uri = URI('https://free.mockerapi.com/205')
response = Net::HTTP.get_response(uri)

puts "Status Code: #{response.code}"  # 205
puts "Response: #{JSON.parse(response.body)}"
Response Body:
{
  "success": true,
  "status": 205,
  "statusText": "Reset Content - The request succeeded and the client should reset the document view",
  "timestamp": "2025-10-08T10:30:45.123Z",
  "request": {
    "method": "GET",
    "url": "/205",
    "fullUrl": "https://free.mockerapi.com/205"
  }
}
Request:
package main

import (
    "fmt"
    "io"
    "net/http"
)

func main() {
    resp, err := http.Get("https://free.mockerapi.com/205")
    if err != nil {
        panic(err)
    }
    defer resp.Body.Close()

    fmt.Printf("Status Code: %d\n", resp.StatusCode)  // 205

    body, err := io.ReadAll(resp.Body)
    if err != nil {
        panic(err)
    }

    fmt.Printf("Response: %s\n", body)
}
Response Body:
{
  "success": true,
  "status": 205,
  "statusText": "Reset Content - The request succeeded and the client should reset the document view",
  "timestamp": "2025-10-08T10:30:45.123Z",
  "request": {
    "method": "GET",
    "url": "/205",
    "fullUrl": "https://free.mockerapi.com/205"
  }
}
Request:
import java.net.http.*;
import java.net.URI;

public class HttpStatusTest {
    public static void main(String[] args) throws Exception {
        HttpClient client = HttpClient.newHttpClient();
        HttpRequest request = HttpRequest.newBuilder()
            .uri(URI.create("https://free.mockerapi.com/205"))
            .GET()
            .build();

        HttpResponse response = client.send(request,
            HttpResponse.BodyHandlers.ofString());

        System.out.println("Status Code: " + response.statusCode());  // 205
        System.out.println("Response: " + response.body());
    }
}
Response Body:
{
  "success": true,
  "status": 205,
  "statusText": "Reset Content - The request succeeded and the client should reset the document view",
  "timestamp": "2025-10-08T10:30:45.123Z",
  "request": {
    "method": "GET",
    "url": "/205",
    "fullUrl": "https://free.mockerapi.com/205"
  }
}
Request:
const https = require('https');

https.get('https://free.mockerapi.com/205', (res) => {
  console.log('Status Code:', res.statusCode);  // 205

  let data = '';

  res.on('data', (chunk) => {
    data += chunk;
  });

  res.on('end', () => {
    console.log('Response:', JSON.parse(data));
  });
}).on('error', (err) => {
  console.error('Error:', err.message);
});
Response Body:
{
  "success": true,
  "status": 205,
  "statusText": "Reset Content - The request succeeded and the client should reset the document view",
  "timestamp": "2025-10-08T10:30:45.123Z",
  "request": {
    "method": "GET",
    "url": "/205",
    "fullUrl": "https://free.mockerapi.com/205"
  }
}

What is HTTP 205 Reset Content?

HTTP 205 Reset Content indicates that the server successfully processed the request and is asking the user agent to reset the document view which sent this request. This is typically used to clear forms after submission.

  • Reset Document: The client should reset the view to its original state
  • Form Clearing: Commonly used to clear forms after successful submission
  • No Response Body: Like 204, this includes no content in the response
  • User Agent Action: Instructs the browser to take specific action

When Does This Happen?

A 205 Reset Content response is returned when the server wants the client to reset its view after a successful operation. You'll see this status code when:

  • Submitting forms that should be cleared after submission
  • Data entry interfaces that need to reset for the next entry
  • Survey or questionnaire submissions
  • Batch data entry systems
  • Any scenario where the UI should reset after successful submission

Try It Live

Click the button below to make a live request and see the 205 Reset Content response

Common Use Cases

📝 Form Reset

Test form submission flows that should clear the form after success.

📊 Data Entry

Mock data entry systems that reset for continuous input.

📋 Survey Systems

Simulate survey submissions that reset the form for next respondent.

🔄 Batch Processing

Test batch entry interfaces that need to reset between items.

✍️ Content Creation

Handle content submission forms that should clear after publishing.

🎯 UI Reset Logic

Develop UI reset logic based on 205 status code responses.

Related Success Status Codes