Giter Site home page Giter Site logo

List /patch endpoint about httpbin HOT 12 CLOSED

postmanlabs avatar postmanlabs commented on April 28, 2024
List /patch endpoint

from httpbin.

Comments (12)

rmccue avatar rmccue commented on April 28, 2024

Whoops, looks like one already exists! This should be documented on the homepage.

from httpbin.

rmccue avatar rmccue commented on April 28, 2024

It also appears that it doesn't work properly.

$ curl -i -X PATCH http://httpbin.org/patch
HTTP/1.1 405 METHOD_NOT_ALLOWED
Content-Length: 0
Connection: Close

(Note though that it says METHOD_NOT_ALLOWED rather than the normal METHOD NOT ALLOWED, and also does not give an Allow header)

from httpbin.

kennethreitz avatar kennethreitz commented on April 28, 2024

Yeah, this drives me crazy right now. It's a limitation of Heroku at the moment.

from httpbin.

kennethreitz avatar kennethreitz commented on April 28, 2024

Closing as out of scope for the meantime.

from httpbin.

philfreo avatar philfreo commented on April 28, 2024

I was hoping to see this as well. Was also confused because #6 was marked as done. Is it supported or no?

from httpbin.

kennethreitz avatar kennethreitz commented on April 28, 2024

Httpbin used to be hosted on ep.io, which supported PATCH requests.

from httpbin.

philfreo avatar philfreo commented on April 28, 2024

Ah ok - didn't realize Heroku just didn't allow PATCH at all. You should fix that :)

from httpbin.

kennethreitz avatar kennethreitz commented on April 28, 2024

I've been trying :)

from httpbin.

philfreo avatar philfreo commented on April 28, 2024
  1. ack PUT
  2. copy/paste lines replacing PUT with PATCH
  3. done!

from httpbin.

kennethreitz avatar kennethreitz commented on April 28, 2024

https://forums.aws.amazon.com/thread.jspa?messageID=400724

from httpbin.

philfreo avatar philfreo commented on April 28, 2024

aha, so also need to find an amazon employee to repeat steps 1-3!

from httpbin.

kennethreitz avatar kennethreitz commented on April 28, 2024

Pretty much. Where's a @garnaat when you need one?

from httpbin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.