Boxes Server

This is a desktop application for Windows 10 (x64) and Linux (x64) which can be used for playing with HTTP requests. It contains embedded SQLite database which can be explored via the desktop interface:

app screenshot

In order to interact with the database you need to use HTTP requests.

Binaries can be downloaded here:

How to use:

  • Launch the application
  • Go to “Options” -> “Configure”
  • Choose the desired IP address and port
  • Press “OK”
  • Now you should see “HTTP Server Online” message in the bottom status bar
  • ⚠️ Make sure your firewall settings allows incoming requests for the app

Now you can modify the displayed content with HTTP requests:

  • Create a new account:

    POST /sign-up
    
    {
      "email": "...",
      "username": "...",
      "password": "...",
    }
    
  • Sign In (get auth token):

    POST /sign-in
    
    {
      "email": "...",
      "password": "..."
    }
    
  • Get my account info:

    GET /me
    Authorization: {token}
    
  • Update username:

    PUT /me
    Authorization: {token}
    
    {
      "username": "..."
    }
    
  • Get boxes list:

    GET /boxes
    Authorization: {token}
    
  • Get box by ID:

    GET /boxes/{boxId}
    Authorization: {token}
    
  • Activate/deactive the box:

    PUT /boxes/{boxId}
    Authorization: {token}
    
    {
      "isActive": true/false
    }
    

GitHub

View Github