× Home
API Request Web Page
Portfolio
privacy-policy



RESTful API Documentation


/html_to_img

Description: This route converts HTML content to an image.

Method: POST, GET

Example Request:

        URL: /html_to_img
        Method: POST
        Body: 
        {
            "html": "
Sample HTML Content
", "css": "body { background-color: lightblue; }", "s_height": "600", "s_width": "800" }

Example Response:

        Image Content
    

Where the example request is sent: /html_to_img_example

/caller

Description: This route makes an API call to a Truecaller endpoint.

Method: POST, GET

Example Request:

        URL: /caller
        Method: POST
        Body: 
        {
            "num": "1234567890"
        }
    

Example Response:

        {"status": "success"} or {"status": "failed"}
    

Where the example request is sent: /caller_example

/proxy

Description: This route makes a proxy request to a specified URL.

Method: POST, GET

Example Request:

        URL: /proxy
        Method: POST
        Body: 
        {
            "url": "https://example.com"
        }
    

Example Response:

        Response from Proxy
    

Where the example request is sent: /proxy_example

/user_agent

Description: This route generates a random user agent string.

Method: GET

Example Request:

        URL: /user_agent
        Method: GET
    

Example Response:

        {"user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:93.0) Gecko/20100101 Firefox/93.0"}
    

Where the example request is sent: /user_agent_example

/currency_converter

Description: This route converts currency from one type to another.

Method: GET

Example Request:

        URL: /currency_converter?amount=100&from_currency=USD&to_currency=EUR
        Method: GET
    

Example Response:

        {"result": 85.50}
    

Where the example request is sent: /currency_converter_example

/ip_info

Description: This route retrieves information about the client's IP address.

Method: GET

Example Request:

        URL: /ip_info
        Method: GET
    

Example Response:

        IP Information
    

Where the example request is sent: /ip_info_example