Forum Discussion
SteveBamford are you able to get it to work at all? Maybe with cURL or something? I'm surprised the "" doesn't work, as that should be equivalent to sending no payload.
- SteveBamford5 months ago
Neophyte
Hi Mike,
So a HTTP Delete via Python Requests with no payload works, its only in Groovy I can't get it to work.As Per LM's own documentation it requires the URI, Data and Headers extract below, tried a few different methods of null data and it just didn't work.
delete(java.lang.String uri, java.lang.String data, java.util.Map headers)- Mike_Rodrigues5 months ago
Product Manager
SteveBamford seems odd, since the payload is just tacked on AFAIK, and tacking on an empty string should be the same as no payload.
There may be something else going on behind the scenes.
Maybe point LM and your python script at something like `python -m http.server` and see what the difference is between Python's and ours.