<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: One problem using PROC HTTP in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/One-problem-using-PROC-HTTP/m-p/549112#M74473</link>
    <description>want to add onething, the response from server is incorrect parameter. so probably the problem should be the in=input values was not recognized well by the server.</description>
    <pubDate>Sun, 07 Apr 2019 12:38:52 GMT</pubDate>
    <dc:creator>fanfanpao</dc:creator>
    <dc:date>2019-04-07T12:38:52Z</dc:date>
    <item>
      <title>One problem using PROC HTTP</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/One-problem-using-PROC-HTTP/m-p/549111#M74472</link>
      <description>&lt;P&gt;Hello, I meet a problem when using PROC HTTP to get the data from web. I use Linux and SAS 9.4 M5.&lt;/P&gt;&lt;P&gt;Below curl command works.&lt;/P&gt;&lt;P&gt;curl -X POST -H 'xxxxx: xxxx' -i 'http://url/api/' --data '{"attr1":[1284,1296,1300,1426,1428],"attr2":[664,622,657],"attr3":[],"attr4":[],"attr5":["2014-07-02","2015-05-09"]}'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I use the PROC HTTP failed.&lt;/P&gt;&lt;P&gt;proc http url="http://url/api/" method="POST" out=resp in=input;&lt;BR /&gt;headers "xxxxx"="xxxx";&lt;BR /&gt;debug level=3;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;The in=input have the "{"attr1":[1284,1296,1300,1426,1428],"attr2":[664,622,657],"attr3":[],"attr4":[],"attr5":["2014-07-02","2015-05-09"]}".&lt;/P&gt;&lt;P&gt;I tried to remove the "[" and "]", but still didn't work. Could someone help me?&lt;/P&gt;</description>
      <pubDate>Sun, 07 Apr 2019 12:26:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/One-problem-using-PROC-HTTP/m-p/549111#M74472</guid>
      <dc:creator>fanfanpao</dc:creator>
      <dc:date>2019-04-07T12:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: One problem using PROC HTTP</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/One-problem-using-PROC-HTTP/m-p/549112#M74473</link>
      <description>want to add onething, the response from server is incorrect parameter. so probably the problem should be the in=input values was not recognized well by the server.</description>
      <pubDate>Sun, 07 Apr 2019 12:38:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/One-problem-using-PROC-HTTP/m-p/549112#M74473</guid>
      <dc:creator>fanfanpao</dc:creator>
      <dc:date>2019-04-07T12:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: One problem using PROC HTTP</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/One-problem-using-PROC-HTTP/m-p/550575#M74540</link>
      <description>No one knows?</description>
      <pubDate>Fri, 12 Apr 2019 11:00:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/One-problem-using-PROC-HTTP/m-p/550575#M74540</guid>
      <dc:creator>fanfanpao</dc:creator>
      <dc:date>2019-04-12T11:00:30Z</dc:date>
    </item>
  </channel>
</rss>

