in reply to lwp authorization

$req->header('Authorization' => "Basic" .encode_base64('cv23gwyzqvur:ty7idfphrkl'));

That does not match the HTTP/1.1 Basic Auth spec.

Like haukex I cannot see why you have chosen not to use the already-available convenience method to achieve this. Can you explain your choice?

Replies are listed 'Best First'.
Re^2: lwp authorization
by bigup401 (Pilgrim) on May 18, 2017 at 13:13 UTC

    because the api documentations tells me . authenticate by encoding your username and password to Base64 HTTP Basic Authorization

      # | space # V $req->header('Authorization' => "Basic " .encode_base64('cv23gwyzqvur: +t +y7idfphrkl'));
      poj

        and i think the problem is with host i will either contact them. coz i have tried other host api and worked

      A reply falls below the community's threshold of quality. You may see it by logging in.