Skip to content

Commit

Permalink
Merge pull request #28 from OnedocLabs/ffo-158-insert-feature-docs
Browse files Browse the repository at this point in the history
insert feature implementation sdk n docs
  • Loading branch information
AugusteLef authored Jun 25, 2024
2 parents c8ae1e1 + 310f75c commit f10d840
Show file tree
Hide file tree
Showing 3 changed files with 183 additions and 54 deletions.
9 changes: 9 additions & 0 deletions fern/scripts/insert_snippets_docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const { extractSnippets } = require("./extract_snippets");
"fill",
"extract",
"split",
"insert",
];

const curlSnippets = {
Expand Down Expand Up @@ -77,6 +78,14 @@ const { extractSnippets } = require("./extract_snippets");
-H 'Content-Type: multipart/form-data'\n \
-F 'options={splitPage:1};type=application/json'\n \
-F 'file=@document (18).pdf;type=application/pdf'`,
insert: `curl -X 'POST'\n \
'https://api.fileforge.com/pdf/insert/'\n \
-H 'accept: application/pdf'\n \
-H 'X-API-Key : '\n \
-H 'Content-Type: multipart/form-data'\n \
-F 'options={insertPage:1};type=application/json'\n \
-F '[email protected];type=application/pdf'\n \
-F 'files=@document (18).pdf;type=application/pdf'`,
};

const keywordToSnippetsMap = {};
Expand Down
2 changes: 1 addition & 1 deletion fern/sdk
Submodule sdk updated from 4e9cc2 to d45097
Loading

0 comments on commit f10d840

Please sign in to comment.