Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: REST::Client POST help

by The_Dj (Beadle)
on Nov 22, 2019 at 00:49 UTC ( [id://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.
      soory.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-04-20 00:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found