Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: REST::Client POST help

by The_Dj (Sexton)
on Nov 22, 2019 at 00:49 UTC ( #11109026=note: print w/replies, xml ) Need Help??

in reply to REST::Client POST help

Uhh.... Your error is 'Forbidden'
I don't see any user credentials... Do you need to log in?

Can you execute the action with curl or some other tool?

If there is a SWAGGER frontend for this site, that's a god place to poke about, too.

Replies are listed 'Best First'.
Re^2: REST::Client POST help
by hippo (Bishop) on Nov 22, 2019 at 09:27 UTC
    I don't see any user credentials... Do you need to log in?

    If you look closely at ogrp's code you will see this key-value pair:

    Authorization => 'Bearer 096dd6e084d5f30fazzz'

    which is being sent as part of the headers. While this may be wrong or right (invalid or valid, auth or mechanism), there is at least some evidence of an attempt to authenticate.

      missed that.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11109026]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (2)
As of 2023-06-01 23:18 GMT
Find Nodes?
    Voting Booth?

    No recent polls found