Skip to content

Additional HTTP methods for Ajax plugin #543

Closed
racke opened this Issue Mar 26, 2014 · 3 comments

2 participants

@racke
PerlDancer member
racke commented Mar 26, 2014

REST APIs are using PUT and DELETE methods in addition to GET and POST.
This should be supported as well, maybe we could also do

ajax ['PUT'] '/myroute' sub { ...}

Regards
Racke

@xsawyerx
PerlDancer member

Does anyone have a spec/RFC we can refer to?

@racke
PerlDancer member
racke commented Mar 27, 2014
@xsawyerx
PerlDancer member

👍

@corecache corecache pushed a commit that referenced this issue Apr 5, 2014
Jean Stebens Fix: Additional HTTP methods for Ajax plugin #543 5994cec
@racke racke closed this in #561 Apr 5, 2014
@shumphrey shumphrey added a commit to shumphrey/Dancer2 that referenced this issue Apr 24, 2014
@shumphrey shumphrey Merge remote-tracking branch 'upstream/master' into dir-error-render-…
…with-app-serializer

* upstream/master: (23 commits)
  readme: fix mailing list and irc links
  new release: 0.13
  reflect changes
  As @veryrusty suggests, make response mark itself as encoded when it uses the serializer
  Update POD to reflect encoding/bytes requirement
  Fix a missing pod C<>
  Properly remove YAML::Any
  Change YAML::Any to YAML
  new version released: 0.12
  reflect another change, update contributors/core devs
  Minor cleanup of comments and POD in Ajax plugin.
  Fix: Additional HTTP methods for Ajax plugin #543
  Reflect changes
  Added a saner test-description, since hooks may influence content, but not by return value
  BugFix #546 execute_hook return value
  Reflect changes and update list of contributors.
  Added --directory option to dancer script
  Remove all test that use Dancer2::Test (except route PODs):
  Reflect changes for recent merges by @racke
  reflect change
  ...
7316dd7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.