GithubHelp home page GithubHelp logo

hxii / suteba Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 14 KB

Suteba (捨場 - dumping ground) is a simple request bin/dump written in PHP.

Home Page: https://paulglushak.com/suteba

License: GNU General Public License v3.0

PHP 100.00%
php request requestbin bin dump

suteba's Introduction

Suteba

Suteba (捨場 - dumping ground) is a simple request bin/dump written in PHP.

I needed this functionality for my day job, and

while I could've used something that's available (and probably better), that wouldn't be much of a learning experience now, would it?

The solution? Make your own.

Usage

  1. Upload the file to folder/subdomain of your choosing.
  2. Add allowed keys to the file under $keys, e.g.:
private  $keys = [
'test' => '098f6bcd4621d373cade4e832627b4f6',
'hxii' => '4b58f3d6a1935c14ac594f9ef9dca69e'
];
  1. Send your request to the file, e.g curl -d "test=true&value=suetba%20is%20cool" https://yourdomain/pb.php?key=098f6bcd4621d373cade4e832627b4f6
  2. If the key matches, you'll get a response with the ID and path of the request, e.g.:
{
"id": "e08b7ecac70c8142ff2c8e76ebd17892",
"path": "data/098f6bcd4621d373cade4e832627b4f6/e08b7ecac70c8142ff2c8e76ebd17892.txt"
}
  1. You can access the request either:
    1. Directly using https://yourdomain.com/data/098f6bcd4621d373cade4e832627b4f6/e08b7ecac70c8142ff2c8e76ebd17892.txt or
    2. You can list all available requests for a key using https://yourdomain/pb.php?key=098f6bcd4621d373cade4e832627b4f6&action=list.

Issues and such

Found a problem? Report it here.

suteba's People

Contributors

hxii avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.