Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Calling REST Server Problem

From: tmoeller:fastmail:fm at: 21-Sep-2010 12:54

Hi, i try to call a REST Server running on localhost, port 9999. Doing this with the browser works perfectly, doing this with rebol always results in error 403 forbidden. I know that there is no authentication needed for acessing the REST server. What i know is, that the server only accepts 'application/json' calls. I guess that is the real problem. How can i modify my http GET call to adress this problem? With curl the request should look like this : curl -H Accept:application/json http://localhost:9999/ Can anybody help? Thorsten -- http://www.fastmail.fm - Does exactly what it says on the tin