From 5d9b6a8a7658ed4dee96fd523f337ee16b7e4d17 Mon Sep 17 00:00:00 2001 From: Jack Gaino Date: Wed, 31 Jul 2024 23:07:31 -0400 Subject: [PATCH] Explicitly mention 400 in response --- docs/api/rest.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/rest.md b/docs/api/rest.md index 4a53a6a8..82584b56 100644 --- a/docs/api/rest.md +++ b/docs/api/rest.md @@ -703,7 +703,7 @@ If the service you're calling supports returning response data, you can retrieve :::note Some services return no data, others optionally return response data, and some always return response data. -If you don't use `return_response` when calling a service that must return data, the API will return an error. Similarly, you will receive an error if you use `return_response` when calling a service that doesn't return any data. +If you don't use `return_response` when calling a service that must return data, the API will return a 400. Similarly, you will receive a 400 if you use `return_response` when calling a service that doesn't return any data. ::: Sample `curl` commands: