---
title: "call"
method: POST
path: "/v1/service/{service}/call/{path}"
tags: ["services"]
---

# call

`POST /v1/service/{service}/call/{path}`

### Perform a POST on a service endpoint

Execute a `POST` operation on the `path` endpoint of `service`.
The request body is passed through to the target endpoint.
The result of performing a POST on the target service endpoint
is returned unless the `async` or `promise` pragma header is specified.

## Path parameters

- `service` string, required
- `path` string, required

## Headers

- `Pragma` string

## Request body

- object

## Response `200`

The response body returned by the invoked endpoint

## Other responses

- `202` — An asynchronous operation has been accepted for eventual execution
- `404` — Response indicating requested resource is not found
- `500` — A message describing the error
- `503` — A message describing the error
- `default` — An error response returned by the invoked endpoint

## Changes

- **2020-07-10** `e1b30a5e29e4` — 2 info
  - api operation id `idServiceCall` removed and replaced with `idServicePost`
  - added the non-success response with the status `404`
- **2020-06-15** `c35e2018be30` — 1 info
  - endpoint added
- **2020-05-01** `d9f9d9f05f2d` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/ibm/apis/kar/changes/v1/service/:service/call/:path/post.md)

---

[API](https://skmtc.dev/ibm/apis/kar.md) · [All operations](https://skmtc.dev/ibm/apis/kar/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ibm/kar/revisions/f288d7bc7700/schema)
