<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[A restAPI noob]]></title><description><![CDATA[<p dir="auto">Hi there <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=16ee7d1409f" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /><br />
My goal is to install automaticly Cloudron if this works i would like to implement this to <a href="http://N8N.io" target="_blank" rel="noopener noreferrer nofollow ugc">N8N.io</a></p>
<pre><code>curl -k -X POST -H 'Content-Type: application/json' --data '{
    "appStoreId": "com.nextcloud.cloudronapp",
    "location": "subdomain",
    "domain": "mycloudroninstanz.de",
    "accessRestriction": { },
    "portBindings": { },
    "icon": "string",
    "label": "MyAwesomeWebsite",
    "memoryLimit": 629145600,
    "sso": true,
    "enableBackup": true,
    "enableAutomaticUpdate": true,
    "alternateDomains": [ ],
    "overwriteDns": false
}' https://mycloudroninstanz.de/api/v1/apps/install?access_token=MYACCESTOKEN
</code></pre>
<p dir="auto">According to this -&gt; <a href="https://docs.cloudron.io/api.html#tag/Apps/paths/~1apps~1install/post" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/api.html#tag/Apps/paths/~1apps~1install/post</a> i tried to creat a curl post and i am 100% this is wrong. Maybe someone could help me with this?</p>
<p dir="auto">Error:<br />
curl: (6) Could not resolve host: application<br />
curl: (3) URL using bad/illegal format or missing URL<br />
curl: (3) URL using bad/illegal format or missing URL<br />
curl: (3) URL using bad/illegal format or missing URL<br />
curl: (3) unmatched brace in URL position 1:<br />
{<br />
^</p>
]]></description><link>https://forum.cloudron.io/topic/7536/a-restapi-noob</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Apr 2026 18:30:11 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/7536.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 20 Aug 2022 19:21:24 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to A restAPI noob on Sat, 20 Aug 2022 22:25:30 GMT]]></title><description><![CDATA[<p dir="auto">With the noted quick hack with the network debugger I can give you this:</p>
<pre><code>curl 'https://my.DOMAIN.TLD/api/v1/apps/install' -X POST -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:103.0) Gecko/20100101 Firefox/103.0' -H 'Accept: application/json, text/plain, */*' -H 'Accept-Language: en,en-US;q=0.7,de;q=0.3' -H 'Accept-Encoding: gzip, deflate, br' -H 'Referer: https://my.DOMAIN.TLD/' -H 'Authorization: Bearer REDACTED_TOKEN' -H 'Content-Type: application/json;charset=utf-8' -H 'Origin: https://my.DOMAIN.TLD' -H 'Connection: keep-alive' -H 'Sec-Fetch-Dest: empty' -H 'Sec-Fetch-Mode: cors' -H 'Sec-Fetch-Site: same-origin' -H 'TE: trailers' --data-raw '{"appStoreId":"com.nextcloud.cloudronapp@4.14.0","subdomain":"cloud","domain":"cloudron.dev","secondaryDomains":{},"portBindings":{},"accessRestriction":null,"cert":null,"key":null,"sso":true,"overwriteDns":false}'
</code></pre>
<p dir="auto">Now with some pretty json:</p>
<pre><code>{
	"appStoreId": "com.nextcloud.cloudronapp@4.14.0",
	"subdomain": "cloud",
	"domain": "cloudron.dev",
	"secondaryDomains": {},
	"portBindings": {},
	"accessRestriction": null,
	"cert": null,
	"key": null,
	"sso": true,
	"overwriteDns": false
}
</code></pre>
<p dir="auto">There are some differences compared to your JSON Body.</p>
<p dir="auto">Diffs:</p>
<ul>
<li><code>appStoreId</code> also has the version</li>
<li><code>location</code> from you and the on click send <code>subdomain</code></li>
<li><code>accessRestriction</code> from you is an empty JSON Array and mine is <code>null</code></li>
</ul>
<p dir="auto">Rest you can see for yourself <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=16ee7d1409f" class="not-responsive emoji emoji-android emoji--wink" style="height:23px;width:auto;vertical-align:middle" title=";)" alt="😉" /></p>
]]></description><link>https://forum.cloudron.io/post/52424</link><guid isPermaLink="true">https://forum.cloudron.io/post/52424</guid><dc:creator><![CDATA[BrutalBirdie]]></dc:creator><pubDate>Sat, 20 Aug 2022 22:25:30 GMT</pubDate></item><item><title><![CDATA[Reply to A restAPI noob on Sun, 21 Aug 2022 01:32:06 GMT]]></title><description><![CDATA[<p dir="auto">If you keep your browser devtools open and install an app, you can copy the network command as "curl" command. For example, if you install app, just look for the "install" POST call.</p>
<p dir="auto"><img src="/assets/uploads/files/1661045493977-9ff9a963-7e36-42ea-b4ec-b4070f1046a1-image-resized.png" alt="9ff9a963-7e36-42ea-b4ec-b4070f1046a1-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.cloudron.io/post/52426</link><guid isPermaLink="true">https://forum.cloudron.io/post/52426</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Sun, 21 Aug 2022 01:32:06 GMT</pubDate></item><item><title><![CDATA[Reply to A restAPI noob on Sat, 20 Aug 2022 22:23:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/brutalbirdie" aria-label="Profile: BrutalBirdie">@<bdi>BrutalBirdie</bdi></a> Perfect that Topic helped. BR</p>
]]></description><link>https://forum.cloudron.io/post/52425</link><guid isPermaLink="true">https://forum.cloudron.io/post/52425</guid><dc:creator><![CDATA[savity]]></dc:creator><pubDate>Sat, 20 Aug 2022 22:23:17 GMT</pubDate></item><item><title><![CDATA[Reply to A restAPI noob on Sat, 20 Aug 2022 22:25:30 GMT]]></title><description><![CDATA[<p dir="auto">With the noted quick hack with the network debugger I can give you this:</p>
<pre><code>curl 'https://my.DOMAIN.TLD/api/v1/apps/install' -X POST -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:103.0) Gecko/20100101 Firefox/103.0' -H 'Accept: application/json, text/plain, */*' -H 'Accept-Language: en,en-US;q=0.7,de;q=0.3' -H 'Accept-Encoding: gzip, deflate, br' -H 'Referer: https://my.DOMAIN.TLD/' -H 'Authorization: Bearer REDACTED_TOKEN' -H 'Content-Type: application/json;charset=utf-8' -H 'Origin: https://my.DOMAIN.TLD' -H 'Connection: keep-alive' -H 'Sec-Fetch-Dest: empty' -H 'Sec-Fetch-Mode: cors' -H 'Sec-Fetch-Site: same-origin' -H 'TE: trailers' --data-raw '{"appStoreId":"com.nextcloud.cloudronapp@4.14.0","subdomain":"cloud","domain":"cloudron.dev","secondaryDomains":{},"portBindings":{},"accessRestriction":null,"cert":null,"key":null,"sso":true,"overwriteDns":false}'
</code></pre>
<p dir="auto">Now with some pretty json:</p>
<pre><code>{
	"appStoreId": "com.nextcloud.cloudronapp@4.14.0",
	"subdomain": "cloud",
	"domain": "cloudron.dev",
	"secondaryDomains": {},
	"portBindings": {},
	"accessRestriction": null,
	"cert": null,
	"key": null,
	"sso": true,
	"overwriteDns": false
}
</code></pre>
<p dir="auto">There are some differences compared to your JSON Body.</p>
<p dir="auto">Diffs:</p>
<ul>
<li><code>appStoreId</code> also has the version</li>
<li><code>location</code> from you and the on click send <code>subdomain</code></li>
<li><code>accessRestriction</code> from you is an empty JSON Array and mine is <code>null</code></li>
</ul>
<p dir="auto">Rest you can see for yourself <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=16ee7d1409f" class="not-responsive emoji emoji-android emoji--wink" style="height:23px;width:auto;vertical-align:middle" title=";)" alt="😉" /></p>
]]></description><link>https://forum.cloudron.io/post/52424</link><guid isPermaLink="true">https://forum.cloudron.io/post/52424</guid><dc:creator><![CDATA[BrutalBirdie]]></dc:creator><pubDate>Sat, 20 Aug 2022 22:25:30 GMT</pubDate></item><item><title><![CDATA[Reply to A restAPI noob on Sat, 20 Aug 2022 22:17:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/savity" aria-label="Profile: savity">@<bdi>savity</bdi></a> have you seen this topic?<br />
<a href="https://forum.cloudron.io/topic/5840/unattended-install/16">https://forum.cloudron.io/topic/5840/unattended-install/16</a></p>
<p dir="auto">This might help you.</p>
]]></description><link>https://forum.cloudron.io/post/52423</link><guid isPermaLink="true">https://forum.cloudron.io/post/52423</guid><dc:creator><![CDATA[BrutalBirdie]]></dc:creator><pubDate>Sat, 20 Aug 2022 22:17:59 GMT</pubDate></item><item><title><![CDATA[Reply to A restAPI noob on Sat, 20 Aug 2022 21:57:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/brutalbirdie" aria-label="Profile: BrutalBirdie">@<bdi>BrutalBirdie</bdi></a> I would like to use the APi request to deploy Nextcloud</p>
<p dir="auto">"appStoreId": "com.nextcloud.cloudronapp",</p>
]]></description><link>https://forum.cloudron.io/post/52422</link><guid isPermaLink="true">https://forum.cloudron.io/post/52422</guid><dc:creator><![CDATA[savity]]></dc:creator><pubDate>Sat, 20 Aug 2022 21:57:02 GMT</pubDate></item><item><title><![CDATA[Reply to A restAPI noob on Sat, 20 Aug 2022 20:45:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/savity" aria-label="Profile: savity">@<bdi>savity</bdi></a> Please start using code block when pasting code.<br />
<img src="/assets/uploads/files/1661028251391-6df7cfce-31ed-4d8e-9953-14d226aa284a-grafik.png" alt="6df7cfce-31ed-4d8e-9953-14d226aa284a-grafik.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/savity" aria-label="Profile: savity">@<bdi>savity</bdi></a> said in <a href="/post/52412">A restAPI noob</a>:</p>
<blockquote>
<p dir="auto">My goal is to install automaticly Cloudron if this works i would like to implement this to <a href="http://N8N.io" target="_blank" rel="noopener noreferrer nofollow ugc">N8N.io</a></p>
</blockquote>
<p dir="auto">Do you want to install Cloudron automatically or do you wish to install Nextcloud automatically?</p>
]]></description><link>https://forum.cloudron.io/post/52417</link><guid isPermaLink="true">https://forum.cloudron.io/post/52417</guid><dc:creator><![CDATA[BrutalBirdie]]></dc:creator><pubDate>Sat, 20 Aug 2022 20:45:40 GMT</pubDate></item></channel></rss>