Search found 9 matches

by Paulyy
Tue Feb 13, 2024 2:19 pm
Forum: Flows
Topic: HTTP POST a body
Replies: 6
Views: 385

Re: HTTP POST a body

Edit. I've got it working, thanks for some friends running the same system. I was to busy focusing on sending json when it should have been in the parameters. method=setOrderStatus token=1234567890 type=product order_id=12453 order_product_id=34276 order_status=1 order_product_status=32 comment=test...
by Paulyy
Tue Feb 13, 2024 1:00 pm
Forum: Flows
Topic: HTTP POST a body
Replies: 6
Views: 385

Re: HTTP POST a body

this is my post request that works. (for security reasons ive changed the URL and token) i exported this from Postman. curl --location --request POST 'https://www.myurl.com.au/services/api.php?token=xxxxxxxxxx&method=setOrderStatus&format=xml&type=product&order_id=12945&order_pro...
by Paulyy
Mon Feb 12, 2024 4:42 pm
Forum: Flows
Topic: HTTP POST a body
Replies: 6
Views: 385

Re: HTTP POST a body

Hmm i've tried this.
I just coped your whole http post aswell.
it just passes the json or txt file as an error. "Request finish tatus: not found"

What goes into the headers?
by Paulyy
Mon Feb 12, 2024 2:55 pm
Forum: Flows
Topic: HTTP POST a body
Replies: 6
Views: 385

HTTP POST a body

Hi All, Im a little stuck on how to use the HTTP Post a body request. I have HTTP GET working to download files, do API Calls with parameters / headers etc. I just cant get the the POST a Body working. I've written the JSON data in the "Create a txt file" with input job. i've tried to set ...
by Paulyy
Mon Sep 11, 2023 12:45 pm
Forum: Appstore
Topic: S3 Downloader - can't select folder
Replies: 0
Views: 91465

S3 Downloader - can't select folder

I'm a little stuck with the S3 downloader. I have set it up accordingly, Access key, secret key etc. My bucket list is visible in the dropdown. In the "folder" property, if i leave it blank, it'll download all files from the bucket including files in all subfolders. but i want it to look i...
by Paulyy
Tue Aug 29, 2023 4:47 pm
Forum: Flows
Topic: XML Pickup Help.
Replies: 7
Views: 4165

Re: XML Pickup Help.

jan_suhr wrote: Tue Aug 29, 2023 2:20 pm In the rename tool you can use "Keep segment" as one of the Actions.
I had to find an alternative solution, but it's solved.
as some of the names have 9 segments and some have 8 segments.

but now i have a great flow that gets XML into the PDFs.

I appreciate the help!
by Paulyy
Tue Aug 29, 2023 1:57 pm
Forum: Flows
Topic: XML Pickup Help.
Replies: 7
Views: 4165

Re: XML Pickup Help.

If you just want to keep a part of the file name you can save that as Private data. When a job passes a folder you can add Private data to it. Some apps can also save Private data to a job. Then when you make the Private data for this case you can set it up to just take the part you need. Now you h...
by Paulyy
Tue Aug 29, 2023 1:39 pm
Forum: Flows
Topic: XML Pickup Help.
Replies: 7
Views: 4165

Re: XML Pickup Help.

The XML-pickup is an important tool and necessary for doing real automation. Metadata along asset means that Switch will pickup the content in the XML and attach it to the job file. For Switch to know which XML-file it should attach to the job file they must have the same name before the extension....
by Paulyy
Tue Aug 29, 2023 10:04 am
Forum: Flows
Topic: XML Pickup Help.
Replies: 7
Views: 4165

XML Pickup Help.

Hi all, New here. Lurking for a bit but now can't find an answer. Bear with me, i am new to Switch. I also am still demoing it so i dont have access to a lot of the help stuff which requires the subscription. I've just been looking at which modules, seeing which i need and dont need. (hence the demo...