Web API service response
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-02-22 11:15 AM
Hi Team,
We have been trying to send a POST request to REST API service. The response is received as expected while trying to send the request in postman/ARC as well as through Utility - HTTP VBO. But while trying to configure the same through Web Service API under System tab, the response status code is updated as 200 but the response content is received as a series of non printable ascii characters.
We need your inputs on what we are missing here.
Thanks,
Akshaya
------------------------------
Akshaya R
------------------------------
We have been trying to send a POST request to REST API service. The response is received as expected while trying to send the request in postman/ARC as well as through Utility - HTTP VBO. But while trying to configure the same through Web Service API under System tab, the response status code is updated as 200 but the response content is received as a series of non printable ascii characters.
We need your inputs on what we are missing here.
Thanks,
Akshaya
------------------------------
Akshaya R
------------------------------
14 REPLIES 14
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-02-22 06:41 AM
Hi Eric,
As mentioned above, I did try after setting the sysparm_display_value=true. It still didn't work out.
This is how I appended this parameter value to the base url.
Thanks,
Akshaya
------------------------------
Akshaya R
------------------------------
As mentioned above, I did try after setting the sysparm_display_value=true. It still didn't work out.
This is how I appended this parameter value to the base url.
https://[Tenant URL]/newSR/<appname>/f94979231b69b894c273848dcc4bcb49/da4b14c31b7bb0d0c273848dcc4bcb55/12345&sysparm_display_value=true
Could you please let me know if we are missing out anything here?Thanks,
Akshaya
------------------------------
Akshaya R
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-02-22 11:37 AM
@Akshaya R,
When adding query params to a URL, the first param is preceded by a "?" and then additional params are delineated by "&". So your example above should look like:
https://[Tenant URL]/newSR/<appname>/f94979231b69b894c273848dcc4bcb49/da4b14c31b7bb0d0c273848dcc4bcb55/12345?sysparm_display_value=true
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
When adding query params to a URL, the first param is preceded by a "?" and then additional params are delineated by "&". So your example above should look like:
https://[Tenant URL]/newSR/<appname>/f94979231b69b894c273848dcc4bcb49/da4b14c31b7bb0d0c273848dcc4bcb55/12345?sysparm_display_value=true
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
14-02-22 09:44 AM
Hi Eric,
Replacing '&' with '?' didn't help. Receiving the same response content like before.
Thanks,
Akshaya
------------------------------
Akshaya R
------------------------------
Replacing '&' with '?' didn't help. Receiving the same response content like before.
Thanks,
Akshaya
------------------------------
Akshaya R
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
14-02-22 02:54 PM
Hello @Akshaya R,
This is definitely a peculiar situation. The only other thing I can think of, without seeing the actual definition of the Web API service entry, is to use Fiddler or Wireshark to capture the HTTP Request/Response created from Postman and the same Request/Response created while using the Web API service and then compare the two to see if there is some obvious difference in the headers, layout of the request, etc.
Outside of that, my recommendation is to move forward with the HTTP VBO for this integration. You can also open a ticket with Blue Prism support as it appears you may have identified a bug in the Web API service feature.
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
This is definitely a peculiar situation. The only other thing I can think of, without seeing the actual definition of the Web API service entry, is to use Fiddler or Wireshark to capture the HTTP Request/Response created from Postman and the same Request/Response created while using the Web API service and then compare the two to see if there is some obvious difference in the headers, layout of the request, etc.
Outside of that, my recommendation is to move forward with the HTTP VBO for this integration. You can also open a ticket with Blue Prism support as it appears you may have identified a bug in the Web API service feature.
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
15-02-22 01:00 PM
For now we are using HTTP VBO which works fine.
And probably we will also raise a support ticket to know more so as to identify the root cause which might help us in understanding better about Web API services.
Thanks much Eric for providing your valuable insights.
Regards,
Akshaya
------------------------------
Akshaya R
------------------------------
And probably we will also raise a support ticket to know more so as to identify the root cause which might help us in understanding better about Web API services.
Thanks much Eric for providing your valuable insights.
Regards,
Akshaya
------------------------------
Akshaya R
------------------------------

- « Previous
-
- 1
- 2
- Next »