Search found 5 matches

by Scott_PC79
Fri May 21, 2021 8:56 pm
Forum: Flows
Topic: HTTP request parameters
Replies: 6
Views: 1642

Re: HTTP request parameters

It's working now! I attached the job as [Job.Path] and added Content-Type:application/json to the header. Thanks for everyones help.
by Scott_PC79
Thu May 20, 2021 11:05 pm
Forum: Flows
Topic: HTTP request parameters
Replies: 6
Views: 1642

Re: HTTP request parameters

double quotes didn't work either. The webserver API support is telling me that the payload is correct but there must be something wrong in the actual request I'm sending. I'm not sure what it could be because I'm able to send other request just fine.
by Scott_PC79
Tue May 18, 2021 11:07 pm
Forum: Flows
Topic: HTTP request parameters
Replies: 6
Views: 1642

Re: HTTP request parameters

I added make JSON to the flow and set the variables but the problem now seems to be the [ after items. I keep getting a 'spaces are not allowed in a variable definition in JSON code'. I tried omitting them and changed them to { but I keep getting a BadRequest error. Now what?
by Scott_PC79
Mon May 17, 2021 11:11 pm
Forum: Flows
Topic: HTTP request parameters
Replies: 6
Views: 1642

HTTP request parameters

I'm trying to send a request to an API and it keeps sending back a BadRequest error. I'm using switch variables in the parameters for the values. Here is the example request from the web server { "OrderId": "39052da0-70d5-4c84-9504-73f36ce25369", "SiteShippingMethodName": "UPS Ground", "ShipmentInfo...
by Scott_PC79
Thu Apr 15, 2021 8:54 pm
Forum: Flows
Topic: processing order
Replies: 0
Views: 774

processing order

Is there a way to force Switch to process files based on the file name? For example, I have 5 XML documents 123-1, 123-2, 123-3, 123-4 and 123-5 that need to be processed by a configurator in numerical order. Currently my flow is processing them randomly.