Skip to main content
Nintex Community Menu Bar

Hello,

 

we are searching for sending a http request (POST) from K2.

I found ways to send it from an dot NET assembly, from a powershell, form some applications like postman - but I fail to send this request out of K2

 

Can we maybe use any existing smart object for this task? Or do we have to create one by ourself? How?

Or is it possible to execute a powershell out of K2?

 

regards,

Johann

Hi,


 


Perhaps the following posts might help.


https://community.k2.com/t5/K2-Blackpearl-Forum-Posts/PowerShell-K2/td-p/88166


https://community.k2.com/t5/K2-blackpearl/PowerShell-Wizard/ba-p/981


https://community.k2.com/t5/K2-blackpearl/PowerShell-Service-Object/ba-p/1025


 


Thanks for your post.

 

I have already seen this link in my researches regarding "powershell and K2"

So I assume a "K2 only" solution to post those type of requests are not possible?


You mentioned a .NET assembly, you could potentially register that assembly using the endpoint assembly service type, and create a smartobject to use the post method from there.

 

Are you attempting to interact with some type of web service?  There are other out of the box brokers that will integrate with these.


Yes I think it is somehow a web service but the service instances for web services ask me things I cannot answer :-)

And because I use only a link like "http://server/path/?parameter1=value1&parameter2=value2" I thought it might be easier...

If I put this link into a browser it uses GET (and does not work) but if I use postman (or any similar tool) I can put in the URL and choose POST (instead of GET) it will work perfect.

 

I have no insight of the web service and can only "use" it like this...

 

So a (built-in?) smartobject to "invoke a POST request" would be great for me.


HI did you solve this requirement ? If yes how?

 


Reply