Git Product home page Git Product logo

istekbin-api's People

Contributors

batuhankucukali avatar hasanguner avatar osmbsrn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

istekbin-api's Issues

X-Forwarded-* headers being appended

Hi there,

I'm %100 sure that I don't send X-Forwarded-* headers but somehow when I query the api to get istek history, I see the following headers.

"X-Forwarded-For": "80.217.232.171", "X-Forwarded-Port": "443", "X-Forwarded-Proto": "https", "X-Request-Start": "1590183319.613", "X-Status": "Awesome"
Here is the endpoint for reproducing the issue.

https://api.istekbin.com/l/5db683d5-eb49-4df1-b99e-d9013f80ed8c

Rate limit

We should add rate limit to api.

Example:

Screen Shot 2020-05-19 at 19 06 50

Save cookies

Example

[
    {
        "method": "POST",
        "host": "localhost:1323",
        "user_agent": "PostmanRuntime/7.24.1",
        "ip": "[::1]:52621",
        "uri": "/custom-path/?hello=world",
        "content_type": "application/json",
        "header": {
            "Accept": "*/*",
            "Accept-Encoding": "gzip, deflate, br",
            "Connection": "keep-alive",
            "Content-Length": "3",
            "Content-Type": "application/json",
            "Postman-Token": "3aa2a1e5-a4c2-46af-9330-a292d3d2ec30",
            "User-Agent": "PostmanRuntime/7.24.1"
        },
        "cookie": {
            "SESSIONID": "abcd",
        },
        "body": "ok2",
        "created_at": "2020-05-19T12:34:23.841492+03:00"
    }
]

History of istekbin

  • store user istekbin (ip-uuid pair)
  • list last 5 history
  • expire time 24 hours

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.