You need to sign in to do that
Don't have an account?
czhang
Can I check the request sent by callout method?
I'm sending request to ingenix,it requires 'Message Format','Username' property in header info,and the header must be followed by one blank line and then the body of the HTTPS request.
So I wite the request like this:
req.setHeader('Message+Format','X12'); req.setHeader('Username','name'); req.setBody('\r' + 'some body content');
But the response always complains element missing....
Is there something wrong?Or is there a way that I can see the request sent out ?
Anyone know how to add a blank line between header and body?Any suggestion will be appreciated....
Thanks
Hi,
Can you please share the soap envelope request? Have you set the soapAction and endPoint?
Thanks,
Devendra Natani
Blog
The sample request is like this:
I think I've set url correctly...
Btw,I use curl to set --user separately,then set -H and -d paramater,it seems got the right answer....
I've worked on this for two days,which is really frustrating.....