- This topic has 2 replies, 3 voices, and was last updated 3 years, 8 months ago by .
-
Topic
-
Hello All –
Trying to do a simple exercise and I don’t see what i’m not seeing. This is a post to an azure service bus endpoint
script:
package require TclCurl
set verbose 4
set curlHandle [curl::init]
set URL {myendpoint.servicebus.windows.net/}
set httpHeaders {{ContentType: application/atom+xml;type=entry;charset=utf-8} {User-Agent “CIS”} {Authorization: SharedAccessSignature sr=http%3a%2f%2fe<REMOVED>sig=<REMOVED>&se=<REMOVED>&skn=RootManageSharedAccessKey} }set msg [read [open /data/cloverleaf/cis19.1/integrator/s_adt1/data/20210114_servicebustest.json r]]
::curl::transfer -url $URL -bodyvar html -post 1 -postfields $msg -httpheader $httpHeaders
The script isn’t throwing an error, but my endpoint isn’t registering that it was received. I’ve tried different ways, but can’t get a return value to echo out for me.
Thanks for the help –
- You must be logged in to reply to this topic.