Skip to content

QT desktop application for playing with HTTP requests

Notifications You must be signed in to change notification settings

romychab/boxes-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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[?active=true|false]
    Authorization: {token}
    

    active - optional request argument (boolean)

  • Get box by ID:

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

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

About

QT desktop application for playing with HTTP requests

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages