<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Uploading an image with the API POST Request</title><link>https://community.appian.com/discussions/f/rules/24980/uploading-an-image-with-the-api-post-request</link><description>I want to upload an image with the POST request and retrieve it from database. How can I do that? 
 1. To which datatype can we assign the document? 
 2. How can we convert to image into base64? 
 3. How can we encode and decode?</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Uploading an image with the API POST Request</title><link>https://community.appian.com/thread/96655?ContentTypeID=1</link><pubDate>Thu, 23 Jun 2022 05:50:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fa8a8470-bea7-4e8f-a690-776161b5bfac</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;ol&gt;
&lt;li&gt;&amp;nbsp;You can store the document ID in an integer column&lt;/li&gt;
&lt;li&gt;When passing the document to the API, just wrap the id in todocument and it will be done.&amp;nbsp;&lt;br /&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/15/pastedimage1655963409375v1.png" alt=" " /&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>