has anyone experience with api rest json in Lucee/CF ?
I would like to call this link but as i need a token + auth_mode, what is the best solution to call this, any advice, link, suggestions?
HTTP GET with body is not usual thing to do and it’s not a good practice since most web servers does not handle body in GET requests because this is only supposed to “send” things and not “receive” things. See this thread:
good catch! The code I used as basis for my sample is actually sending a PUT request.
As @omarpta pointed out, GET requests with a body part are quite unusual, mainly due to changes in the relevant RFCs.
That being said, I sadly have no solution for this, but I happen to know that other languages / libraries have the same restriction. I’d suggest to ask the party offering the API you want to connect to if they have a workaround in place. Seems unlikely that you’re the first to run into this.