post

Pack: httpbin · Endpoint: https://gateway.pipeworx.io/httpbin/mcp

Send a POST request to httpbin.org with optional body and custom headers; returns the echoed request including parsed JSON body, form data, and headers.

Parameters

NameTypeRequiredDescription
bodyunknownno
headersobjectno
content_typestringno

Example call

Arguments

{
  "body": {
    "name": "test",
    "value": 123
  },
  "content_type": "application/json"
}

curl

curl -X POST https://gateway.pipeworx.io/httpbin/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"post","arguments":{"body":{"name":"test","value":123},"content_type":"application/json"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('post', {
  "body": {
    "name": "test",
    "value": 123
  },
  "content_type": "application/json"
});

More examples

{
  "body": "plain text data",
  "headers": {
    "X-Request-ID": "abc123"
  }
}

Response shape

Full JSON Schema
{
  "type": "object",
  "description": "Response from httpbin POST endpoint"
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "httpbin": {
      "url": "https://gateway.pipeworx.io/httpbin/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 6, 2026