<?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 Custom HTTP Headers using AngularJS client for Nuxeo platform in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/custom-http-headers-using-angularjs-client-for-nuxeo-platform/m-p/322735#M9736</link>
    <description>&lt;P&gt;Is there a way I could specify custom HTTP Headers using AngularJS client?
Options from the REST API are specified on that page : &lt;A href="https://doc.nuxeo.com/display/NXDOC/Special+HTTP+Headers" target="test_blank"&gt;https://doc.nuxeo.com/display/NXDOC/Special+HTTP+Headers&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;But I don't know how I can specify them using the AngularJS client.&lt;/P&gt;</description>
    <pubDate>Thu, 13 Aug 2015 08:08:44 GMT</pubDate>
    <dc:creator>Erwan_</dc:creator>
    <dc:date>2015-08-13T08:08:44Z</dc:date>
    <item>
      <title>Custom HTTP Headers using AngularJS client for Nuxeo platform</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/custom-http-headers-using-angularjs-client-for-nuxeo-platform/m-p/322735#M9736</link>
      <description>&lt;P&gt;Is there a way I could specify custom HTTP Headers using AngularJS client?
Options from the REST API are specified on that page : &lt;A href="https://doc.nuxeo.com/display/NXDOC/Special+HTTP+Headers" target="test_blank"&gt;https://doc.nuxeo.com/display/NXDOC/Special+HTTP+Headers&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;But I don't know how I can specify them using the AngularJS client.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Aug 2015 08:08:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/custom-http-headers-using-angularjs-client-for-nuxeo-platform/m-p/322735#M9736</guid>
      <dc:creator>Erwan_</dc:creator>
      <dc:date>2015-08-13T08:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: Custom HTTP Headers using AngularJS client for Nuxeo platform</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/custom-http-headers-using-angularjs-client-for-nuxeo-platform/m-p/322736#M9737</link>
      <description>&lt;P&gt;I've found the answer.
I could specify custom headers to the nuxeoClient using this instruction below before calling the API method :&lt;/P&gt;
&lt;P&gt;nuxeoClient.header('X-NXDocumentProperties', '*');&lt;/P&gt;</description>
      <pubDate>Thu, 13 Aug 2015 08:32:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/custom-http-headers-using-angularjs-client-for-nuxeo-platform/m-p/322736#M9737</guid>
      <dc:creator>Erwan_</dc:creator>
      <dc:date>2015-08-13T08:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: Custom HTTP Headers using AngularJS client for Nuxeo platform</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/custom-http-headers-using-angularjs-client-for-nuxeo-platform/m-p/322737#M9738</link>
      <description>&lt;P&gt;You can also set headers only for specific requests. All the different objects returned by the js client provide two methods for that: header(name,value) / headers (object) methods.&lt;/P&gt;
&lt;P&gt;Some examples:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;myclient.operation('Document.GetChildren')
  .input('doc:/').header('X-NXenrichers.document','thumbnail').execute().then(...);

myclient.document('/').header('X-NXenrichers.document','thumbnail').fetch().then(...);

myclient.request('path/').headers({'X-NXenrichers.document':'thumbnail','X-NXproperties':'*'}).fetch().then(...);
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 13 Aug 2015 08:39:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/custom-http-headers-using-angularjs-client-for-nuxeo-platform/m-p/322737#M9738</guid>
      <dc:creator>Michaël_Vachett</dc:creator>
      <dc:date>2015-08-13T08:39:56Z</dc:date>
    </item>
  </channel>
</rss>

