Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-10-2008, 10:00 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
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" );
__________________
Reply With Quote
  #2  
Old 06-10-2008, 05:22 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
It's working with TSocket. It can be enabled if you give me server name and port, and graal server name of course.
Reply With Quote
  #3  
Old 06-10-2008, 05:29 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Quote:
Originally Posted by Stefan View Post
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)
__________________
Reply With Quote
  #4  
Old 06-10-2008, 06:15 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Stefan View Post
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.
__________________
Reply With Quote
  #5  
Old 06-11-2008, 01:04 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by cbk1994 View Post
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.
__________________
Reply With Quote
  #6  
Old 06-11-2008, 02:29 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
TwitterBot?
__________________
Reply With Quote
  #7  
Old 06-11-2008, 02:42 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Chompy View Post
TwitterBot?
__________________
Reply With Quote
  #8  
Old 06-17-2008, 10:50 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Quote:
Originally Posted by Chompy View Post
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).
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:10 AM.


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