Author |
Message
|
Shree |
Posted: Sun Nov 23, 2014 10:32 pm Post subject: HTTP GET in Message broker |
|
|
Newbie
Joined: 23 Nov 2014 Posts: 2
|
Hi All,
I have created the flow in wmb and it always turns to a POST request. I'm using HTTPInput, javacompute and HTTPReply.
I got to know that we should be using HTTPRequest node and not sure how to place the nodes and url's need to be specified.
Thanks in advance!! |
|
Back to top |
|
 |
Vitor |
Posted: Mon Nov 24, 2014 5:42 am Post subject: Re: HTTP GET in Message broker |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Shree wrote: |
I got to know that we should be using HTTPRequest node and not sure how to place the nodes and url's need to be specified. |
How did you get to know that? The flow you've posted doesn't seem unreasonable and an HTTPRequest node is for a call out of WMB not into it.
I'm not sure how to place the nodes as I don't understand your problem. URLs are specified (unsurprisingly) in properties.
Perhaps a slightly more verbose explaination? Better information, better advice. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Shree |
Posted: Mon Nov 24, 2014 6:26 am Post subject: |
|
|
Newbie
Joined: 23 Nov 2014 Posts: 2
|
sorry for not being clear.
All I want to know is how to make a GET request in WMB.
I'm new to WMB and have created few POST request till date.
It will be great if someone can share details on nodes to be present in flow. |
|
Back to top |
|
 |
smdavies99 |
Posted: Mon Nov 24, 2014 6:35 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
HTTPRequest node -->Options--> HTTP Settings ==>HTTP Method
The drop down has the 'GET' option. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
Vitor |
Posted: Mon Nov 24, 2014 6:36 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
[quote="Shree"]All I want to know is how to make a GET request in WMB.
So you want to make an HTTP GET request to an endpoint outside of WMB?
Shree wrote: |
I'm new to WMB and have created few POST request till date. |
If by this you mean you've used the HTTPRequest node to make HTTP POST requests to an endpoint outside of WMB, have a look at one of those flows you've produced. Look at the properties of the HTTPRequest node where it says "HTTP Method"; you'll observe it's set to "POST". See if there's any way to change that to "GET"......
 _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|