Post data to Domino Server using HTTP
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-12-20 03:10 PM
How to post data to a server using HTTP request. Is there any guide or link to show that as part of an example.
------------------------------
Tanmay Bagla
------------------------------
------------------------------
Tanmay Bagla
------------------------------
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-12-20 03:44 PM
Hi Tanmay,
There are two general options to check out. One would be the HTTP Utility VBO: https://digitalexchange.blueprism.com/dx/entry/3439/solution/http-communication-utility
The other would be create a Web Service within Blue Prism. Here is a guide: https://portal.blueprism.com/documents/v63-user-guide-web-services
I hope this is helpful to get you started. If you provide more details on what you want to accomplish, we may be able to provide more guidance.
------------------------------
Patrick Aucoin
Senior Product Consultant
Blue Prism
------------------------------
There are two general options to check out. One would be the HTTP Utility VBO: https://digitalexchange.blueprism.com/dx/entry/3439/solution/http-communication-utility
The other would be create a Web Service within Blue Prism. Here is a guide: https://portal.blueprism.com/documents/v63-user-guide-web-services
I hope this is helpful to get you started. If you provide more details on what you want to accomplish, we may be able to provide more guidance.
------------------------------
Patrick Aucoin
Senior Product Consultant
Blue Prism
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-12-20 09:01 AM
Getting the error shown in the error scrrenshot attached. This happens while using HTTP Utility VBO.
We have given
content type - application/json
method - POST
BODY Format - '{"Name" : "JOHN"}'
URL for Domino Server
Let me know if someone can help here
------------------------------
Tanmay Bagla
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-12-20 03:54 PM
HTTP 400 would indicate the server is not happy with the JSON you're sending. I'd assume Blue Prism is either not posting the JSON, or it's in a bad format. I'd verify the data item that you're storing the JSON in is being formatted accurately (if you're calculating via an expression, perhaps a quote mark or something is missing). Are you able to test the POST from outside of Blue Prism? That would ensure the issue is specific to Blue Prism, and that the server is not rejecting your JSON.
------------------------------
Nicholas Zejdlik
RPA Developer
------------------------------
------------------------------
Nicholas Zejdlik
RPA Developer
------------------------------
