Skip to main content
Nintex Community Menu Bar

Invoke a HTTP POST request from K2

  • March 21, 2019
  • 5 replies
  • 215 views
  • Translate

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

Did this topic help you find an answer to your question?

5 replies

Forum|alt.badge.img+16
  • 682 replies
  • March 21, 2019

  • Author
  • 55 replies
  • March 22, 2019

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?

Translate

Forum|alt.badge.img+10
  • 244 replies
  • March 22, 2019

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.

Translate

  • Author
  • 55 replies
  • March 27, 2019

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.

Translate

Forum|alt.badge.img+1
  • Rookie
  • 1 reply
  • September 18, 2024

HI did you solve this requirement ? If yes how?

 

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings