Skip to content

This is a Flask API, useful for generating a pdf containing single or multiple Tables in it with the predefined or provided data(via FormData or Json).

Notifications You must be signed in to change notification settings

jaypowar00/PDFGenerator-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PDFGenerator-API

This api will generate a sample pdf consisting of 2 Tables and will send it in a response to client. (Cross-Domain/Site Enabled)

main route:

/generate:
This route will generate a pdf containing 2 tables with pre-defined hard coded data.

This route can either be accessed with 'GET' or 'POST' request.

1] 'GET' :

Accessing with this request will generate pdf with predefined data.

2] 'POST' :

Accessing with this request will generate pdf with given data.
The Provided data will be used to create one row in second Table in the pdf.
(PS: The first pdf will remain unchanged)
Request Data can be a FormData or Json

  • accepted paramters:
    • color -- This is a string value (e.g.'Red')
    • amount -- This is a integer value (e.g. 67)
    • price -- This can be either a integer or string value (e.g. 399 or 'Rs.399')

About

This is a Flask API, useful for generating a pdf containing single or multiple Tables in it with the predefined or provided data(via FormData or Json).

Topics

Resources

Stars

Watchers

Forks

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy