+ Reply to Thread
Results 1 to 2 of 2

Thread: Get authorized external page with web.xml

  1. #1
    Join Date
    May 2008
    Posts
    59

    Default Get authorized external page with web.xml

    There is a public API that I want to use on a Mindtouch page, however when using this code:
    {{ web.xml{source: "http://webservices.ns.nl/ns-api-avt?station=ut", ttl: "60"} }}
    I get an error 401.
    Normally I would add the username/password in the url (http://username:password@webservices.ns.nl), but unfortunatly the username is my email address, and the '@' sign in the email address is mallforming this URI.
    Does anybody have an idea how I would target this (apart from creating specific application, that functions as a proxy)?

    Thanks,

    Ton

  2. #2

    Default

    This page says try to replace the @ with %40, here they managed to make it work by replacing it with the + symbol.
    Last edited by edvin76; 09-09-2011 at 06:48 AM.

+ Reply to Thread

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts