Invocation of service URL used in connection failed with status code 411 Length Required.
Webservice call is getting failed showing the below error
| |||
---|---|---|---|
Anyone Have idea on how to resolve this issue.
I'm sharing groovy script below Please let me know any modification required.
def rest= adf.webServices.SBP
def UpdateLines =
[[
RequestDate :CRD,
PromiseDate :PD,
line_id :line_id,
]]
def httpHeaders=['Content-Type':'application/vnd.oracle.adf.resourceitem+json']
rest.requestHTTPHeaders=httpHeaders