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!
Search found 345 matches
- Tue Dec 19, 2023 3:04 pm
- Forum: Flows
- Topic: HTTP request (Body as form-data including a file) [SOLVED]
- Replies: 7
- Views: 45831
- 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"}
I get {"error":"The request body is not valid. One of the files in the multipart form is not expected"}
- 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].
- 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'?
- 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...
- 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.
- Thu Dec 07, 2023 4:37 pm
- Forum: Flows
- Topic: HTTP Request
- Replies: 9
- Views: 62591
Re: HTTP Request
Great, no problems!
- 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.
In Attached file you choose Single-line text with variables: [Job.Path]
This way you will POST the XML-file by http as is.
- 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?
- Thu Dec 07, 2023 3:58 pm
- Forum: Flows
- Topic: HTTP Request
- Replies: 9
- Views: 62591
- 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...
- 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.
- 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
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
- Thu Nov 23, 2023 2:54 pm
- Forum: Griffin
- Topic: Anyone having connection issues with Griffin Auto?
- Replies: 11
- Views: 20018
- 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...