# Why does my function return a 204 response when I call it from Postman or curl? If your function does not return a response object, you’ll get a `204 No Content` response when using Postman, `curl` and other tools. This can be confusing if you’ve been prototyping your function using the control panel, where you can see the logs (using `console.log()` in JavaScript, for example) in the **Logs** tab of your function’s namespace. If you want this logged data to be returned as a response to HTTP requests instead, you must return a proper response object from your handler function. See the [Parameters and Responses](https://docs.digitalocean.com/products/functions/reference/parameters-responses/index.html.md) documentation for more details. ## Related Topics [Why am I getting an error when trying to forward DigitalOcean Functions to Managed OpenSearch?](https://docs.digitalocean.com/support/why-am-i-getting-an-error-when-trying-to-forward-digitalocean-functions-to-managed-opensearch/index.html.md): Functions does not support forwarding to Managed OpenSearch.