Skip to content

How to add a delay to a post request #338

@geekarist

Description

@geekarist

Hello,

I can see how to delay the response for a GET request:

http://httpbin.org/delay/10

I can see how to make a POST request:

curl -X POST http://httpbin.org/post

But how could I make a POST request and add a delay? I tried this:

curl -X POST http://httpbin.org/post/delay/10

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<title>404 Not Found</title>
<h1>Not Found</h1>
<p>The requested URL was not found on the server.  If you entered the URL manually please check your spelling and try again.</p>

Thanks for any help,
Christophe.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions