<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>TrishulAPI Q&amp;A - Recent questions in Request</title>
<link>https://trishulapi.com/forum/questions/request</link>
<description>Powered by Question2Answer</description>
<item>
<title>How to get the query params of url in Trishul API?</title>
<link>https://trishulapi.com/forum/10/how-to-get-the-query-params-of-url-in-trishul-api</link>
<description>Hi developers, sometimes you have to apply filters based on the query params. &lt;br /&gt;
&lt;br /&gt;
For example if url has user_id then you want to filter the user data by user_id and if url has username in query params then you will filter the data by username &lt;br /&gt;
&lt;br /&gt;
Url example: &lt;a href=&quot;https://example.com/users?user_id=54&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;https://example.com/users?user_id=54&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://example.com/users?username=shyam&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;https://example.com/users?username=shyam&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
In this situation, your API endpoint needs query params. How will you get these query params?</description>
<category>Request</category>
<guid isPermaLink="true">https://trishulapi.com/forum/10/how-to-get-the-query-params-of-url-in-trishul-api</guid>
<pubDate>Tue, 24 Jun 2025 08:15:49 +0000</pubDate>
</item>
<item>
<title>How to get the path variables in Trishul API?</title>
<link>https://trishulapi.com/forum/7/how-to-get-the-path-variables-in-trishul-api</link>
<description>Hi developers, as all of us know that whenever we work on any restful backend. We have to deal with the path variables for example&lt;br /&gt;
&lt;br /&gt;
/user/{username}&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
How to get this path variable in Trishul API?</description>
<category>Request</category>
<guid isPermaLink="true">https://trishulapi.com/forum/7/how-to-get-the-path-variables-in-trishul-api</guid>
<pubDate>Tue, 24 Jun 2025 03:13:23 +0000</pubDate>
</item>
</channel>
</rss>