Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Dancer::send_file only for GET? (and POST)

by Anonymous Monk
on Nov 12, 2015 at 03:39 UTC ( [id://1147530]=note: print w/replies, xml ) Need Help??


in reply to Solved: Dancer::send_file doesn't work with POST? ( Angular JS hijacks the response)

It works for both get and post
$ lwp-request -m get http://localhost:3000/test/wee/csv wee,get,this $ lwp-request -m post http://localhost:3000/test/wee/csv Please enter content (application/x-www-form-urlencoded) to be POSTed: done ^Z wee,post,this $ mversion Dancer 1.3135
thats from 2015-04-22

It also works on 1.3202 2015-11-07

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2024-04-19 20:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found