What they are asking you to do is to create an http request, and submit, with a 
special http header. I don't believe this is possible with @URL. You have to 
use a language like PHP or JAVA or .NET that allows you to construct an http 
request at the header level.

Now, there may be a trick you can do, I am sorry, it has been years since I 
have had my sleeves rolled up with witango. I think I remember doing this...

If you look at the @URL documentation, it says that you can set a few http 
header values, like FROM. So if you put <@url location="some url" 
from="[email protected]"> then it would construct a http request, something 
like:

GET / HTTP/1.1
Host: www.witango.com
User-agent: Mozilla something or other
From: [email protected]

Now how this works, is that each of those header lines ends in CRLF, then at 
the end of all headers, are 2 CRLFs, then the body of the http request. The 
trick is this, try doing this:

<@url location="www.witango.com" from="[email protected]<@crlf>Key: 
yourkeyhere">

That will actually create your custom header of Key: yourkeyhere. I think I 
have done this before, and it worked.


--

Robert Garcia
President - BigHead Technology
VP Application Development - eventpix.com
15520 Coutelenc Rd
Magalia, Ca 95954
ph: 530.645.4040 x222 fax: 530.645.4040
[email protected] - [email protected]
http://bighead.net/ - http://eventpix.com/

On Oct 20, 2010, at 4:07 PM, MC Tay wrote:

> Hi:
>
> I'm trying to setup a credit card transaction call to a merchant
> account and they require an HTTP Authentication with the following 
> information:
>
> Authorization: Basic
> Content-type: test/xml
> Key: XXXXXYYYYYZZZZZ
>
> How do I do that in Witango? Can I use <@URL>? Please help.
>
> Thanks!
>
> MC
>
>
>
> ----------------------------------------
>
> To unsubscribe from this list, please send an email to [email protected] 
> with "unsubscribe witango-talk" in the body.
>



----------------------------------------

To unsubscribe from this list, please send an email to [email protected] 
with "unsubscribe witango-talk" in the body.

Reply via email to