Jump to content

Capture API response not just status


Recommended Posts

Hi all,

Is there a way to capture the full API response text rather than just the status using the HTTP Request - Basic Auth node (or similar). If not, can I request it? 

Thanks,
Dan

Link to comment
Share on other sites

+1 been wishing this was possible recently as I know it currently isn't. I suspect there would need to be somewhere to define the schema (as JSON possibly) so the information would be accessible in the BPM.

Passing on advice from Hornbill, if you tag your post as "Enhancement" then the developers will be able to pick up the ticket and discuss.

Link to comment
Share on other sites

In the HTTP Request - Basic auth node there is a field for Content Type which should cover the schema (application/json or application/vnd.api+json for example). Shame it isn't possible. I just need to rip the response and dump it in a custom field to regex some details from it. I even have the regex sorted. :( 

It is a shame because I need to get info from another system which is going to be changed to something else in 6/12 months so was hoping this would be a quick fix.

Also I tried marking my posts 'Enhancement' for a while and either I just come up with rubbish suggestions or I am doing something wrong because nothing I suggest seems to get any traction :D 

Link to comment
Share on other sites

9 hours ago, Dan Munns said:

I just come up with rubbish suggestions or I am doing something wrong

Neither of those, however there are many criteria for accepting a suggestion and even more for prioritising it, and it's likely that only if/when one makes it into active development a response will appear on the Forums.

  • Thanks 1
Link to comment
Share on other sites

@Victor,

That is one of the best tools in Hornbill's Arsenal and has been doing wonders, for example I use it to add a user as a "Shared" user to an Asset, since that functionality doesn't currently exist in the BPM.

It's all driven by Human Tasks selections and input etc. Works great!

The only downside is it not being able to capture full responses.

Link to comment
Share on other sites

1 hour ago, samwoo said:

for example I use it to add a user as a "Shared" user to an Asset, since that functionality doesn't currently exist in the BPM

It can be built if requested... :)

1 hour ago, samwoo said:

The only downside is it not being able to capture full responses.

Sure... but there are other downsides or one more downside... in my view, the most important one that this functionality can simply disappear one day... not saying it will, no plans to do this as we speak as far as I am aware of, but the possibility is always there... so, my advice, once again, do not use this in a production capacity. Yes, I do understand it fills a gap in functionality... but the troubles of "fixing" workflows in case of this being removed might outweigh the benefits it provides now...

Link to comment
Share on other sites

@Victor you mean to tell me that there isn't some kind of 'Victor says make it so' button you have access to? :D 

Thanks though. Hopefully people will upvote this (and all my other requests *hint* *hint*)

Link to comment
Share on other sites

@Dan Munns what I mean is that is the extent of what I can do on this :) Does this mean that I don't have a make it so button? Maybe I don't. Or maybe I do but I can't use it. Or maybe I do but I won't use it... possibilities... possibilities :) 

  • Haha 2
Link to comment
Share on other sites

Yeah this button doesn't work any more :(

image.thumb.png.a9ec72fa97ee482186cbc7e65e00c7c3.png

J/K

Cheers for tagging Dan's request as an enhancement.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...