Convert SoapUI Request into CFHTTP
I am looking at a request in SoapUI that is sending header info to a specific endpoint but I am having a hard time recreating it in ColdFusion.
Below is what the RAW request looks like in SoapUI:
I am not sure if I am not formatting the Authorization header correctly or what but any help would be great.
EDIT I got a RAW HTML output from the client which I have updated above. I am still trying to recreate that header in ColdFusion.
My New question(s): Do the “New Line” characters make a difference in the header values? Should I also add a parameter for the content type?
I did try the following:
When I dump everything from the cfhttp call I get:
I am getting a 200 OK status code but still getting a Connection Failure.
It looks like you’re double encrypting your security token.
The head I get leaving the
As you can see, the Authorization header isn’t the same as what SoapUI created.
I modified the value of the Authorization param to :