Search found 28 matches

by mart3223
Sun Jun 23, 2019 2:07 pm
Forum: Applications
Topic: Switch 2019 Spring Edition
Replies: 11
Views: 16738

Re: Switch 2019 Spring Edition

I did the update today, Sunday. Snapshots and backups first. Closed all the applications and start the update of Switch, Pitstop Server and Pitstop Pro. At this moment everything is running fine again (Windows Server 2012).
by mart3223
Tue Jun 04, 2019 1:57 pm
Forum: Flows
Topic: Paused HTTP GET (error)
Replies: 6
Views: 7714

Re: Paused HTTP GET (error)

borisCM wrote: Fri May 31, 2019 1:04 pm if you use a command line tool like wget you won't get that issue.
it just gives no output.

https://www.gnu.org/software/wget/manual/wget.html

kind regards
Thanks, but I think that would be the problem. He is expecting a output but he doesn't get one. I didn't find a solution yet, anyone?
by mart3223
Thu May 16, 2019 2:41 pm
Forum: Flows
Topic: Paused HTTP GET (error)
Replies: 6
Views: 7714

Re: Paused HTTP GET (error)

Yes, i'm sure. There are some customers who have a fault in there system. The link in the XML file is then: "http://test.test.com/a.pdf http://test.test.com/a.pdf" 2 links in one string. So it never connects to a webserver (due the faulty link) so we never get a 404 error. I tried to searc...
by mart3223
Wed May 08, 2019 1:18 pm
Forum: Flows
Topic: Paused HTTP GET (error)
Replies: 6
Views: 7714

Paused HTTP GET (error)

Hi All, We recieve in a XML file the location of the printfiles. Sometimes the link is broken, and is it impossible to download the file. But when that happens the HTTP Request gets a red gear, and every other file is put on hold until I manual delete the XML file with the broken link. errordownload...
by mart3223
Thu Feb 28, 2019 12:32 pm
Forum: LEGACY scripting
Topic: JSON with special characters
Replies: 8
Views: 16357

Re: JSON with special characters

I don'y have the scripting module. I have tested with the header "Content-Type: application/json;charset=utf-8" but that doesn't change anything. Can it be a bug in Switch?
by mart3223
Wed Feb 27, 2019 5:20 pm
Forum: LEGACY scripting
Topic: JSON with special characters
Replies: 8
Views: 16357

Re: JSON with special characters

We use the app "Make JSON" and the POST function in Enfocus. I have add some screenshots.

The setting of the POST (HTTP reuest app)
Schermafbeelding 2019-02-27 om 17.18.41.png
Schermafbeelding 2019-02-27 om 17.18.41.png (24.73 KiB) Viewed 16320 times
The JSON of the app "Make JSON"
aa
aa
Schermafbeelding 2019-02-27 om 17.18.56.png (60.42 KiB) Viewed 16320 times
by mart3223
Wed Feb 27, 2019 4:08 pm
Forum: LEGACY scripting
Topic: JSON with special characters
Replies: 8
Views: 16357

Re: JSON with special characters

gabrielp wrote: Wed Feb 27, 2019 3:48 pm Curious -- does your web server/API get the request? Is it returning an empty response? Or is the request not even getting there?
Yes, it is returning a empty response. No error. If I use a JSON without special characters everything is working fine.
by mart3223
Tue Feb 26, 2019 10:52 am
Forum: LEGACY scripting
Topic: JSON with special characters
Replies: 8
Views: 16357

JSON with special characters

Hi All, In my last Topic I was building a POST to a API. That is working fine right now with normal characters, the specials like "é" and "ë" are a problem right now. If I post this JSON with Postman everything is working fine: {"parcel":{"address":"Katte...
by mart3223
Thu Feb 07, 2019 1:57 pm
Forum: Flows
Topic: Inject complete folder with XML files
Replies: 2
Views: 4153

Inject complete folder with XML files

Hi all, I'm looking for a solution for injecting a XML files of a specific folder on my server. I recieve a webhook with the name of the folder in it, all stored in metadata. So the path will be: X:/ENFOCUS/[METADATA]/XML/. There can be up to 100 XML files in the folder that I want to inject in the ...
by mart3223
Thu Feb 07, 2019 1:50 pm
Forum: LEGACY scripting
Topic: POST JSON to API with HTTP Request
Replies: 4
Views: 7641

Re: POST JSON to API with HTTP Request

cstevens wrote: Thu Nov 29, 2018 10:08 pm Yes, I have to do custom authentication so I don't have a choice.
Ah great, got it working right now. Problem solved. JSON was corrupt ;)
by mart3223
Thu Nov 29, 2018 7:44 pm
Forum: LEGACY scripting
Topic: POST JSON to API with HTTP Request
Replies: 4
Views: 7641

Re: POST JSON to API with HTTP Request

cstevens wrote: Thu Nov 29, 2018 5:30 pm I haven't used make JSON or basic authentication, but I've created a couple scripts that do authenticated RESTful API calls....
Great thanks, but you are using the scripting module I guess?
by mart3223
Thu Nov 29, 2018 8:16 am
Forum: LEGACY scripting
Topic: POST JSON to API with HTTP Request
Replies: 4
Views: 7641

POST JSON to API with HTTP Request

Good morning forum members, Does anyone of you have the experience with posting a JSON to an API with basic aut. I'm continuously getting a 404 error in switch. I'm trying to send a customer address to a shipping provider: https://docs.sendcloud.sc/api/v2/index.html#create-a-parcel. Currently I'm ma...
by mart3223
Mon May 07, 2018 3:06 pm
Forum: PitStop Server
Topic: How to place an image?
Replies: 2
Views: 5148

How to place an image?

Hello All, I have a question. We are using Pitstop Server / Pitstop Pro and Switch (versions 2018). We are making our Job sheet with variables in Pitstop. That works fine. At this moment we want to add in the PDF file of the job sheet a PNG image in the right bottom. The file is must be linked with ...