mjlant
(Michael Lant)
July 12, 2017, 9:17pm
1
I am unable to figure out how to assign a port number using asynchttp_v1.get()
My best guess is like the following, but I have never been able to get anything other than a 500 result.
def getSomethingAsync(){
def params = [
uri: ‘http://myapp.eastus.cloudapp.azure.com ’,
port: ‘1234’,
path: ‘/one/two’
]
asynchttp_v1.get(‘basicGetHandler’, params)
}
Does anyone have any ideas?
Michael
E_Sch
(Eric)
July 12, 2017, 9:20pm
2
ahndee
(Andreas A.)
July 12, 2017, 9:39pm
3
Did you try
[…]
uri: 'http://myapp.eastus.cloudapp.azure.com:1234',
[…]
1 Like
mjlant
(Michael Lant)
July 13, 2017, 2:04am
4
Hi Andreas,
Thank you for the response.
Okay… egg on face with this one. I did try that repeatedly, but I must have been making some other mistake at the same time that was resulting in the 500 error. This seems to work.
Thanks!
Michael