<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.aras.com/community/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>REST API curl from cmd line - what could be wrong in this POST request?</title><link>https://www.aras.com/community/f/development/35752/rest-api-curl-from-cmd-line---what-could-be-wrong-in-this-post-request</link><description>Hi Community, 
 I try to do a couple of REST API calls via Windows Batch jobs. I successfully can call for a token and read data. But I somehow fail to build a simple POST action to add any kind of item. 
 Currently I try to add e.g. an user with this</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>RE: REST API curl from cmd line - what could be wrong in this POST request?</title><link>https://www.aras.com/community/thread/5382?ContentTypeID=1</link><pubDate>Mon, 06 Jul 2020 15:26:40 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:ca342ec8-5829-40ee-999b-adef2e0cc4d8</guid><dc:creator>AngelaIp</dc:creator><description>&lt;p&gt;Fixed it -&amp;gt; don&amp;acute;t use single quotes (&amp;#39;). When you need them, escape them:&lt;br /&gt;&lt;br /&gt;--data &amp;quot;{\&amp;quot;login_name\&amp;quot;:\&amp;quot;test6\&amp;quot;}&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>