Skip to content

Instantly share code, notes, and snippets.

@soravgarg123
Created May 18, 2023 13:57
Show Gist options
  • Select an option

  • Save soravgarg123/b6e9cf2d7b9f31ce62c26a7fa6fded17 to your computer and use it in GitHub Desktop.

Select an option

Save soravgarg123/b6e9cf2d7b9f31ce62c26a7fa6fded17 to your computer and use it in GitHub Desktop.
curl --location 'https://ems.psuad.ac.ae/pdfcreator/lib/html5/annotationHandler.php?did=GettingStarted' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'save=1' \
--data-urlencode 'data=<?xml version="1.0" encoding="UTF-8" ?>
<xfdf xmlns="http://ns.adobe.com/xfdf/" xml:space="preserve">
<fields />
<annots><text subject="Sticky" page="0" rect="404.493157,788.36853,427.743162,765.118525" name="c2e3774e-1522-b434-8262-d62ea710199f" title="Syed Amer" date="D:20230518112611+5.5'\''30'\''" color="#FFFF00" creationdate="D:20230518112611+5.5'\''30'\''" icon="Comment"><contents-richtext><body xmlns="http://www.w3.org/1999/xhtml" xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/" xfa:spec="2.0.2" xfa:APIVersion="Acrobat:10.1.3"><p dir="ltr"><span dir="ltr" style="font-size:10.0pt;text-align:left;color:#000000;font-weight:normal;font-style:normal">test</span></p></body></contents-richtext><popup flags="print,nozoom,norotate" page="0" rect="349.28481,839.16021,469.28484,779.160195" open="yes"/></text></annots>
<pages>
<defmtx matrix="1.333333,0,0,-1.333333,0,1118.88" />
<pgmtx matrix="1.333333,0,0,-1.333333,0,1121.76" page="1" />
<pgmtx matrix="1.333333,0,0,-1.333333,0,1121.76" page="2" />
</pages>
</xfdf>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment