What is a DUMP SERVER and what are its advantages over a static server

A dump server is a server that responds to client requests with data that it retrieves from a standard HTTP dump.

Just like a static server, the dump server does not execute the code, but only gives the ready data to the client.
The static server re…


This content originally appeared on DEV Community and was authored by Alexander

A dump server is a server that responds to client requests with data that it retrieves from a standard HTTP dump.

Just like a static server, the dump server does not execute the code, but only gives the ready data to the client.
The static server responds with the contents of the files, and the dump server responds with dumps.
The dump includes the response body, status code, and headers.
The dump server allows you to serve any kind of request, not just GET method, like a static server.
With a dump server, you can simulate any API without writing code.

If you need to start working on the frontend, and the backend is not ready yet, then you need a dump server.

Meet the DeepfakeHTTP dump server:

GitHub logo xnbox / DeepfakeHTTP

? DeepfakeHTTP is a web server that uses HTTP dumps as a source for responses.

DeepfakeHTTP – Your 100% static dynamic backend

License MIT Version 1.0.5 Powered by Tommy


DeepfakeHTTP is a web server that uses HTTP dumps as a source for responses.

What are people using it for?
  • Creating the product POC or demo before even starting out with the backend
  • REST, GraphQL, and other APIs prototyping and testing
  • Hiding critical enterprise infrastructure behind a simple static facade
  • Hacking and fine-tuning HTTP communications on both server and client sides

Features

  • No dependencies
  • No installation
  • No configuration files
  • Single-file executable

Command Line Interface (CLI)

java -jar df.jar [options] [dump1.txt] [dump2.txt] ...

Options:
        --help           print help message
        --info           print dump files statistics as JSON
        --requests       print dump requests as JSON
        --port           TCP port number, default: 8080
        --collect <file> append live request/response dumps to file
        --no-log         disable request/response console logging
        --no-etag        disable ETag optimization
        --no-watch       disable watch dump files for changes

Prerequisites

  • Java 15 or above

Get started

  1. Download the latest release of df.jar


This content originally appeared on DEV Community and was authored by Alexander


Print Share Comment Cite Upload Translate Updates
APA

Alexander | Sciencx (2021-09-06T23:14:18+00:00) What is a DUMP SERVER and what are its advantages over a static server. Retrieved from https://www.scien.cx/2021/09/06/what-is-a-dump-server-and-what-are-its-advantages-over-a-static-server/

MLA
" » What is a DUMP SERVER and what are its advantages over a static server." Alexander | Sciencx - Monday September 6, 2021, https://www.scien.cx/2021/09/06/what-is-a-dump-server-and-what-are-its-advantages-over-a-static-server/
HARVARD
Alexander | Sciencx Monday September 6, 2021 » What is a DUMP SERVER and what are its advantages over a static server., viewed ,<https://www.scien.cx/2021/09/06/what-is-a-dump-server-and-what-are-its-advantages-over-a-static-server/>
VANCOUVER
Alexander | Sciencx - » What is a DUMP SERVER and what are its advantages over a static server. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/09/06/what-is-a-dump-server-and-what-are-its-advantages-over-a-static-server/
CHICAGO
" » What is a DUMP SERVER and what are its advantages over a static server." Alexander | Sciencx - Accessed . https://www.scien.cx/2021/09/06/what-is-a-dump-server-and-what-are-its-advantages-over-a-static-server/
IEEE
" » What is a DUMP SERVER and what are its advantages over a static server." Alexander | Sciencx [Online]. Available: https://www.scien.cx/2021/09/06/what-is-a-dump-server-and-what-are-its-advantages-over-a-static-server/. [Accessed: ]
rf:citation
» What is a DUMP SERVER and what are its advantages over a static server | Alexander | Sciencx | https://www.scien.cx/2021/09/06/what-is-a-dump-server-and-what-are-its-advantages-over-a-static-server/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.