Syntactic Confectionery Delight | |
PerlMonks |
Re: Sample REST request & response codeby 1nickt (Canon) |
on Sep 06, 2018 at 11:41 UTC ( [id://1221869]=note: print w/replies, xml ) | Need Help?? |
Hi, there's sample code in the documentation of any decent CPAN module, in the SYNOPSIS as well as in the test files. Larger platforms such as web application servers typically offer expansive documentation. Which have you looked at so far? I recommend using Dancer2 to serve your REST API, and you might like REST::Client for making requests to it. Server: Client:
Hope this helps!
The way forward always starts with a minimal test.
In Section
Seekers of Perl Wisdom
|
|