{"info":{"_postman_id":"49545948-edbb-4277-b68b-e7bdbd6a6a14","name":"Converto Strapi Plugin","description":"<html><head></head><body><p>Converto Strapi Plugin is a plugin for converting HTML to PDF. It can take either raw HTML or an URL as input, and will return an PDF generated on headless Chrome (Puppeteer).</p>\n<p>To run this on own machine, download the <a href=\"https://github.com/losol/converto\">Strapi with Converto from Github</a>. </p>\n<p>To get started: </p>\n<ol>\n<li>Clone the repo</li>\n<li>Run Strapi with Converto with the command <code>npx strapi develop</code></li>\n<li>Login on <code>localhost:1337/admin</code>, and create a new user. For example with email <code>asdf@asdf.com</code>, and password <code>asdfasdf</code>.</li>\n<li>Go to roles and permissions, and add Converto - Html2Pdf - convert to the allow conversions for this user. </li>\n<li>Use Postman or your preferred client to get an jwt token by sending the credentials to `localhost:1337/auth/local``</li>\n<li>Add the jwt token to the header as a bearer token, and send your request to `localhost:1337/convert/html/to/pdf``</li>\n</ol>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"863421","collectionId":"49545948-edbb-4277-b68b-e7bdbd6a6a14","publishedId":"SWLZeUzS","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2019-12-24T19:08:42.000Z"},"item":[{"name":"http://localhost:1337/api/pdfcreo","id":"0590799d-ad1e-4467-8f93-2ed1923cd874","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"multipart/form-data"}],"body":{"mode":"formdata","formdata":[{"description":"<p>URL to convert to PDF</p>\n","key":"url","type":"text","value":"https://google.com"},{"description":"<p>Raw HTML to convert</p>\n","key":"html","type":"text","value":"<h1>Hello, World</>","disabled":true},{"description":"<p>Scaling the output. Default is 1. </p>\n","key":"scale","type":"text","value":"1","disabled":true},{"description":"<p>Paper format of the PDF. Default is A4.</p>\n","key":"format","type":"text","value":"A4","disabled":true}]},"url":"http://localhost:1337/api/pdfcreo","urlObject":{"path":["api","pdfcreo"],"host":["http://localhost:1337"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[],"_postman_id":"0590799d-ad1e-4467-8f93-2ed1923cd874"}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]}},"event":[{"listen":"prerequest","script":{"id":"37b70643-def8-44ff-906a-7252cd57bcaa","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"88d2d8bb-b6b4-4f61-b676-9a8b1de5322f","type":"text/javascript","exec":[""]}}],"variable":[{"key":"baseurl","value":"http://localhost:1337"},{"key":"bearertoken","value":"","type":"string"}]}