saifisvibinn commited on
Commit
b10e99d
·
1 Parent(s): cd71fbc

Add Postman collection file for API testing

Browse files
Files changed (1) hide show
  1. Postman_Collection.json +64 -0
Postman_Collection.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "info": {
3
+ "_postman_id": "pdf-extractor-api",
4
+ "name": "PDF Layout Extractor API",
5
+ "description": "API collection for PDF Layout Extractor on Hugging Face Spaces",
6
+ "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
7
+ },
8
+ "item": [
9
+ {
10
+ "name": "Predict - Extract PDF Content",
11
+ "request": {
12
+ "method": "POST",
13
+ "header": [],
14
+ "body": {
15
+ "mode": "formdata",
16
+ "formdata": [
17
+ {
18
+ "key": "file",
19
+ "type": "file",
20
+ "src": []
21
+ }
22
+ ]
23
+ },
24
+ "url": {
25
+ "raw": "https://saifisvibin-volaris-pdf-tool.hf.space/api/predict",
26
+ "protocol": "https",
27
+ "host": [
28
+ "saifisvibin-volaris-pdf-tool",
29
+ "hf",
30
+ "space"
31
+ ],
32
+ "path": [
33
+ "api",
34
+ "predict"
35
+ ]
36
+ },
37
+ "description": "Upload a PDF file and get extracted text, tables, and figures in JSON format."
38
+ },
39
+ "response": []
40
+ },
41
+ {
42
+ "name": "Device Info",
43
+ "request": {
44
+ "method": "GET",
45
+ "header": [],
46
+ "url": {
47
+ "raw": "https://saifisvibin-volaris-pdf-tool.hf.space/api/device-info",
48
+ "protocol": "https",
49
+ "host": [
50
+ "saifisvibin-volaris-pdf-tool",
51
+ "hf",
52
+ "space"
53
+ ],
54
+ "path": [
55
+ "api",
56
+ "device-info"
57
+ ]
58
+ }
59
+ },
60
+ "response": []
61
+ }
62
+ ]
63
+ }
64
+