Search found 345 matches

by magnussandstrom
Tue Dec 19, 2023 3:04 pm
Forum: Flows
Topic: HTTP request (Body as form-data including a file) [SOLVED]
Replies: 7
Views: 45831

Re: HTTP request (Body as form-data including a file)

Me and Freddy solved this one (obviously I cannot read):

Request type: POST

Attached file: [Job.Path]
Use MIME encoding: Yes
File variable: file

Parameters: prompt=my prompt text
Headers: x-api-key:1234abcd

Thanks Freddy!
by magnussandstrom
Mon Dec 18, 2023 12:34 pm
Forum: Flows
Topic: HTTP request (Body as form-data including a file) [SOLVED]
Replies: 7
Views: 45831

Re: HTTP request (Body as form-data including a file)

I cannot get it to work with HTTP request. I think the issue is that I cannot input the Key for the file (as I can with Postman):

I get {"error":"The request body is not valid. One of the files in the multipart form is not expected"}
by magnussandstrom
Mon Dec 18, 2023 10:34 am
Forum: Flows
Topic: HTTP request (Body as form-data including a file) [SOLVED]
Replies: 7
Views: 45831

Re: HTTP request (Body as form-data including a file)

I also need the form-data key (file) before the file, not only [Job.Path].
by magnussandstrom
Mon Dec 18, 2023 10:30 am
Forum: Flows
Topic: HTTP request (Body as form-data including a file) [SOLVED]
Replies: 7
Views: 45831

Re: HTTP request (Body as form-data including a file)

Thanks, but where should I place the 'prompt'?
by magnussandstrom
Sun Dec 17, 2023 11:46 am
Forum: Flows
Topic: HTTP request (Body as form-data including a file) [SOLVED]
Replies: 7
Views: 45831

HTTP request (Body as form-data including a file) [SOLVED]

I'm using an API where I need to send the body as form-data and one of the form fields contains a jpg-file. This is what a cURL example looks like in the documentation: curl -X POST https://api-url \ -H 'x-api-key: YOUR_API_KEY' \ -F file=@image.jpg \ -F 'prompt=your promt \ I've tested the API in P...
by magnussandstrom
Thu Dec 07, 2023 10:41 pm
Forum: Action Lists
Topic: Generating Bleed if Some OR None
Replies: 3
Views: 24564

Re: Generating Bleed if Some OR None

I'm following this thread. I have not yet found a safe and good solution for automatically add bleed only if there is none or some. The last time I tried use Pitstop for checking bleed I got both false positives and false negatives.
by magnussandstrom
Thu Dec 07, 2023 4:37 pm
Forum: Flows
Topic: HTTP Request
Replies: 9
Views: 62591

Re: HTTP Request

Great, no problems!
by magnussandstrom
Thu Dec 07, 2023 4:17 pm
Forum: Flows
Topic: HTTP Request
Replies: 9
Views: 62591

Re: HTTP Request

Maybe you could try this:

In Attached file you choose Single-line text with variables: [Job.Path]

This way you will POST the XML-file by http as is.
by magnussandstrom
Thu Dec 07, 2023 4:04 pm
Forum: Flows
Topic: HTTP Request
Replies: 9
Views: 62591

Re: HTTP Request

Could you provide the name of the MIS and the example XML?
by magnussandstrom
Thu Dec 07, 2023 3:58 pm
Forum: Flows
Topic: HTTP Request
Replies: 9
Views: 62591

Re: HTTP Request

jRitt wrote: Thu Dec 07, 2023 3:50 pm ...sent to a server address provided by our MIS
I think I understand what you are trying to do.. What does this "server address" look like and what is the intended way of sending the XML?
by magnussandstrom
Thu Dec 07, 2023 3:34 pm
Forum: Flows
Topic: HTTP Request
Replies: 9
Views: 62591

Re: HTTP Request

Hi Josh, I'm guessing that your MIS is communicating by SOAP (since you are mentioning XML)? Do you have any documentation from your MIS vendor? In the flow below I'm using Curl to POST a SOAP-call to fetch order data from our MIS (PrintVis). I have done this by installing Curl on my Switch server a...
by magnussandstrom
Wed Nov 29, 2023 11:02 am
Forum: Action Lists
Topic: How to exclude objects inside forms?
Replies: 4
Views: 14410

Re: How to exclude objects inside forms?

Hi! Could you post your Action list and an example PDF that contains the transparency in question? That would make it much easier to help out.
by magnussandstrom
Sat Nov 25, 2023 2:25 pm
Forum: Flows
Topic: Flow for compose the delivery path from file name
Replies: 4
Views: 15598

Re: Flow for compose the delivery path from file name

Hi Sergio,

This is not a support page, it’s a user forum :)

If you give a more precise description of what you are trying to do it’s easier to help, could you give us more detailed information?

But a hint could be to use ’Set heirarchy path’ and ’Archive heirarchy’ with varibles from job.nameproper
by magnussandstrom
Thu Nov 23, 2023 2:54 pm
Forum: Griffin
Topic: Anyone having connection issues with Griffin Auto?
Replies: 11
Views: 20018

Re: Anyone having connection issues with Griffin Auto?

Robert.W wrote: Thu Nov 23, 2023 2:07 pm There should be a fallback option so that Griffin continues to function for at least 48 hours.
This!
by magnussandstrom
Thu Nov 23, 2023 10:09 am
Forum: Griffin
Topic: Anyone having connection issues with Griffin Auto?
Replies: 11
Views: 20018

Re: Anyone having connection issues with Griffin Auto?

Same problem yesterday and Enfocus indeed solved the problem! Doesn't change the fact that I Griffin still only works with a VPN connection with us! I'm not sure why need to use VPN? But yeah, it's a strange licensing model. IMHO on premise software should function even if there is a lost of intern...