cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
637
Views
0
Helpful
5
Replies

UCCX 8.5 HTTP Request

shiquan
Level 1
Level 1

Hi,

By any chance we can initiate an HTTP GET request to an external web server? Now I am only aware it can generate and send a response.

Highly appreciated.

Q

5 Replies 5

Anas Abueideh
Level 9
Level 9

Hi,

for sure you can initiate HTTP get to an external web server, then you receive the info you need in xml file

HTH

Anas

please rate if it is helpful

Hi, Anas,

Thanks. I guess I should use Create XML Document to send the request to external web server, correct?

Also, how can I responde to an HTTP GET request with a 200 OK or 400 bad request?

Q

Hi, yes, you can use that step too, but be aware of the fact that it does not issue the actual HTTP request, only a reference object to the remote resource. You can use the Cache Document step or the Get XML Data step. If you use multiple Get XML Data steps in your script, it will do multiple HTTP requests, so if it's not desired, you should use the Cache Document step first.

G.

Thanks, Gergely,

For HTTP response, what code is being used? How can I customize it?

Q

Er... not sure what you are aiming at, but if you mean UCCX as a web server, then it's the Send HTTP response step.

If you mean the format expected by the Get XML Data step, it's plain ordinary XML.

G.