cancel
Showing results for 
Search instead for 
Did you mean: 

Resource PC Command HTTP POST Requests

MayurGangrade
Level 4
Hello, I am trying to execute commands using HTTP post request. When I am sending a request from an agent I am getting this error:  System.IndexOutOfRangeException: Index was outside the bounds of the array.    at BluePrism.AutomateAppCore.clsListener.ListenThread()   I am passing following content in body:  POST / HTTP/1.1 Host: localhost:8181 User-Agent: Mozilla/4.0 Content-Length: 92 Content-Type: text/plain param1=user%20name%20name&param2=password%20password&param3=create%20name%20ABCProcess   Could anyone please help me with the correct URL which I should use to run a process using POST request.   I am able to run commands successfully using GET request.    Thanks.
2 REPLIES 2

NaveenKumar5
Level 3
Hi Mayur Gangrade,

You can create params something like this : param1=user%20admin&param2=password%20MyPassword&param3=create%20name%20My%20Process
https://bpdocs.blueprism.com/bp-6-9/en-us/helpHTTPInterface.htm?tocpath=Interface%7CAdvanced%20options%7C_____5

Thanks,
Naveen


------------------------------
Naveen Kumar
------------------------------

EVIPUTI
MVP
The in-product Help file has a section on command line. You can also use the command C:\Program Files\Blue Prism Limited\Blue Prism Automate\automatec.exe /help

Worth giving a look.


------------------------------
------------------------------
Vipul Tiwari
Senior Process Simplification and Optimization Designer(Solutions Architect)
Fidelity International
------------------------------
------------------------------
------------------------------ Vipul Tiwari Senior Process Simplification Developer Amazon ------------------------------