Blue Prism API Usage
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
21-05-24 12:47 PM
Hello Everybody.
Overview of what is needed:
I am using Blueprism v6.10.1, I want to run a process that i made in blueprism called "Hello World" using API call "curl" from another device provided the correct credentials.
What I have tried so far:
- I exposed the Process through "System > Processes > Exposure"
- Started the Environment using bpserver.exe
- tried calling using the following command:
- curl -X POST "http://Server_IP:Server_Port/api/v1/processes/Helloworld/start" -H "Content-Type: application/json" -u Username:Pass
- tried to get token or authenticate using the commands:
- curl -X POST -H "Content-Type: application/json" -d "{\"username\":\"name\", \"password\":\"pass\"}" http://server:port/api/v1/authenticate
- curl -X POST "http://server:port/api/token" -H "Content-Type: application/x-www-form-urlencoded" -d "grant_type=password&username=username&password=password" --insecure
The error I get:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd"> <HTML><HEAD><TITLE>Not Found</TITLE> <META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD> <BODY><h2>Not Found</h2> <hr><p>HTTP Error 404. The requested resource is not found.</p> </BODY></HTML>
What I need is to run the process helloworld using API
0 REPLIES 0
