8000 GitHub - aahan0511/SquareAPI
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

aahan0511/SquareAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SquareAPI

SquareAPI is a API that lets you call other simple APIs. There is no particular advantage for this but if you want to create a frontend for this which gets the SquareAPI used to make a API tester you can use it.

Build

Install requirements:

pip install -r requirements.txt

Start server:

fastapi dev app

Usage

Send a request to the API at the root as:

{
    "url": "string",
    "method": "string",
    "headers": {
        "string": "string"
    },
    "params": {
        "string": "any"
    },
    "body": "any",
    "bearer_token": "string"
}

"method" should be one of "GET", "POST", "PUT", "PATCH", or "DELETE".

Defaults:

{
    "url": "no default",
    "method": "GET",
    "headers": {},
    "params": {},
    "body": {},
    "bearer_token": null
}

The response will be like:

{
    "success": "boolean",
    "status_code": "int",
    "headers": {
        "string": "string"
    },
    "body": "any"
}

License

This API is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages

0