Endpoint: /api/extract_diktum
Method: POST
Request:
- Multipart form-data with PDF file under key
pdf
Response:
- JSON array of extracted sections with
pathandtext
Endpoint: /api/extract_peraturan
Method: POST
Request:
- Multipart form-data with PDF file under key
pdf
Response:
- JSON array of extracted sections with
pathandtext