<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — How to manage Call to API From within FA]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=9293</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=9293&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in How to manage Call to API From within FA.]]></description>
		<lastBuildDate>Fri, 23 Jul 2021 07:24:44 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: How to manage Call to API From within FA]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=39747#p39747</link>
			<description><![CDATA[<p>I am&nbsp; not sure which one are you looking. Inside FA&nbsp; there is no need of api session.&nbsp; And also api is module which recreates session to avoid unnecessary risks from calls.&nbsp; But you can create session and set ttl&nbsp; for it and reuse that in api calls too.</p>]]></description>
			<author><![CDATA[null@example.com (kvvaradha)]]></author>
			<pubDate>Fri, 23 Jul 2021 07:24:44 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=39747#p39747</guid>
		</item>
		<item>
			<title><![CDATA[How to manage Call to API From within FA]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=39416#p39416</link>
			<description><![CDATA[<p>I am trying to use API in a project where API call is from within FA for the currently logged in user and company.</p><p>In this case how the session will be handled in the current FA API plugin.</p><p><strong>Session Handling</strong><br />I don&#039;t want to create a new session. Instead want to use the same session.</p><p><strong>API Call</strong><br />I created a test page and called the absolute url using file_get_contents as below and I got response.</p><p>$result = file_get_contents(&#039;https://pakerp.net/modules/api-bx/category&#039;);</p><p>But I am not sure what is the right way to call API using relative path within FA.</p>]]></description>
			<author><![CDATA[null@example.com (boxygen)]]></author>
			<pubDate>Fri, 07 May 2021 05:47:29 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=39416#p39416</guid>
		</item>
	</channel>
</rss>
