Just another Perl shrine | |
PerlMonks |
Re^2: REST::Client + Request Bodyby jcb (Parson) |
on Oct 14, 2020 at 01:15 UTC ( [id://11122797]=note: print w/replies, xml ) | Need Help?? |
Our questioner should also quote the "Auth-Token" key and use strict; which would have caught that error. Alternately, Perl HTTP handling modules recognize Content_Type as meaning "Content-Type" and the underscore allows the fat comma autoquoting to work as intended.
In Section
Seekers of Perl Wisdom
|
|