|
|
@@ -215,6 +215,7 @@
|
|
|
"credentialId": "cred_c6b24bca-c3e9-4be5-a266-25ddc8538f36",
|
|
|
"downloadCollection": "downloads",
|
|
|
"downloadTtlHours": 24,
|
|
|
+ "failOnErrorStatus": true,
|
|
|
"followRedirects": true,
|
|
|
"method": "POST",
|
|
|
"responseMode": "json",
|
|
|
@@ -237,11 +238,12 @@
|
|
|
{
|
|
|
"config": {
|
|
|
"authType": "credential",
|
|
|
- "body": "{\n \"slug\": \"{{$node['Prepare'].slug}}\",\n \"is_adult\": {{Number($node['Workflow Input'].is_adult) === 1 ? 1 : 0}},\n \"title_hu\": \"{{$node['Workflow Input'].title_hu}}\",\n \"title_en\": \"{{$node['Workflow Input'].title_en}}\",\n \"content_hu\": \"{{$node['Workflow Input'].content_hu}}\",\n \"content_en\": \"{{$node['Workflow Input'].content_en}}\",\n \"status\": \"{{$node['Workflow Input'].status || 'draft'}}\",\n \"cover_url\": \"{{$node['Prepare'].baseUrl}}/storage/media/{{$node['Prepare'].mediaPath}}\",\n \"cover_alt_hu\": \"{{$node['Workflow Input'].cover_alt_hu || $node['Workflow Input'].title_hu}}\",\n \"cover_alt_en\": \"{{$node['Workflow Input'].cover_alt_en || $node['Workflow Input'].title_en}}\"\n}",
|
|
|
+ "body": "{\n \"slug\": \"{{$node['Prepare'].slug}}\",\n \"is_adult\": {{Number($node['Workflow Input'].is_adult) === 1 ? 1 : 0}},\n \"title_hu\": \"{{$node['Workflow Input'].title_hu}}\",\n \"title_en\": \"{{$node['Workflow Input'].title_en}}\",\n \"content_hu\": \"{{$node['Workflow Input'].content_hu}}\",\n \"content_en\": \"{{$node['Workflow Input'].content_en}}\",\n \"status\": \"{{$node['Workflow Input'].status || 'draft'}}\",\n \"cover_url\": \"/storage/media/{{$node['Prepare'].mediaPath}}\",\n \"cover_alt_hu\": \"{{$node['Workflow Input'].cover_alt_hu || $node['Workflow Input'].title_hu}}\",\n \"cover_alt_en\": \"{{$node['Workflow Input'].cover_alt_en || $node['Workflow Input'].title_en}}\"\n}",
|
|
|
"contentType": "application/json",
|
|
|
"credentialId": "cred_c6b24bca-c3e9-4be5-a266-25ddc8538f36",
|
|
|
"downloadCollection": "downloads",
|
|
|
"downloadTtlHours": 24,
|
|
|
+ "failOnErrorStatus": true,
|
|
|
"followRedirects": true,
|
|
|
"method": "POST",
|
|
|
"responseMode": "json",
|
|
|
@@ -333,6 +335,7 @@
|
|
|
"credentialId": "cred_c6b24bca-c3e9-4be5-a266-25ddc8538f36",
|
|
|
"downloadCollection": "downloads",
|
|
|
"downloadTtlHours": 24,
|
|
|
+ "failOnErrorStatus": true,
|
|
|
"followRedirects": true,
|
|
|
"method": "GET",
|
|
|
"responseMode": "json",
|