Address and request
Address
Keep sending requests to your old V2 API address: the platform forwards them to the adapter with the same method and body. The adapter itself is available at:Method and body
- Any method works:
GET,POST,PUT,PATCH,DELETE,HEAD,OPTIONS. - The body is JSON. It is read regardless of the
Content-Typeheader. - The query string and the
Authorizationheader are ignored.
Timeout
Wait for a response for at least 60 seconds. A largecreate can take longer than an ordinary request: all waits before writing starts fit within 50 seconds, and writing a large request takes additional time.
Request envelope
Order of checks
The first failed step responds; the following steps are not run.
A failure on the platform side responds with
{"type":"error", "data":"Internal error, try again later"} (added by the platform). Retry such a request later.
The response texts reproduce V2 to the character, including extra spaces. If your code compares the whole response body, it will keep working.