Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   HTTP Authentication (https://forums.graalonline.com/forums/showthread.php?t=80026)

cbk1994 06-10-2008 10:00 AM

HTTP Authentication
 
It would be great if Graal would allow you to request websites with some kind of authentication.

I'm trying to communicate with a web site to post something, but it needs authentication.

Go to Wikipedia, and search "Basic access authentication"; this is what I need.

Is it possible to do this already?

Normally, I could do this by typing

PHP Code:

user:pass@host.com 

Yet this doesn't work on Graal (even after base64encoding user:pass)

Doesn't work with either requesthttp or requesturl.

EDIT: I need to do something like this:

requesthttp( "user:[email protected]", 80, "update.xml?post=blah" );

Admins 06-10-2008 05:22 PM

It's working with TSocket. It can be enabled if you give me server name and port, and graal server name of course.

Chompy 06-10-2008 05:29 PM

Quote:

Originally Posted by Stefan (Post 1396150)
It's working with TSocket. It can be enabled if you give me server name and port, and graal server name of course.

O.o erm? Well, we've waited since February to get Socket support on Symphonia.. Could we get it aswell?

We've sent several tickets and they all said they would pass it over to you.. (All info about ports, usage etc is in the ticket)

cbk1994 06-10-2008 06:15 PM

Quote:

Originally Posted by Stefan (Post 1396150)
It's working with TSocket. It can be enabled if you give me server name and port, and graal server name of course.

That would be great, except that I plan to release it in the code gallery, so it would have to work for all servers.

cbk1994 06-11-2008 01:04 PM

Quote:

Originally Posted by cbk1994 (Post 1396184)
That would be great, except that I plan to release it in the code gallery, so it would have to work for all servers.

I ended up using a PHP file location on a web server to get around it.

Chompy 06-11-2008 02:29 PM

TwitterBot? :D

cbk1994 06-11-2008 02:42 PM

Quote:

Originally Posted by Chompy (Post 1396360)
TwitterBot? :D

^^

Admins 06-17-2008 10:50 AM

Quote:

Originally Posted by Chompy (Post 1396155)
O.o erm? Well, we've waited since February to get Socket support on Symphonia.. Could we get it aswell?

We've sent several tickets and they all said they would pass it over to you.. (All info about ports, usage etc is in the ticket)

Still waiting for a reply to the ticket, we need to know which hosts and ports to allow (for TSocket.connect).


All times are GMT +2. The time now is 05:39 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.