# Regarding the api response

**URL:** <https://discuss.dwolla.com/t/regarding-the-api-response/8121>\
**Category:** API Support\
**Created:** [June 7, 2022, 10:19am UTC](https://discuss.dwolla.com/t/regarding-the-api-response/8121 "2022-06-07T10:19:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anantdev](https://avatars.discourse-cdn.com/v4/letter/a/e0b2c6/32.png) [@anantdev](https://discuss.dwolla.com/u/anantdev)\
**Post date:** [June 7, 2022, 10:19am UTC](https://discuss.dwolla.com/t/regarding-the-api-response/8121/1 "2022-06-07T10:19:56Z")

</div>

1. In case of every correct information we should get a success message in response of the api but currently while hitting the API the response is blank and while getting no response in success case the user is getting added on dashboard and each detail is visible on the dashboard but for the same API should respond with a success message on postman collection.
2. In case of error handling case, if any information is entered false or duplicate it shows the correct response i.e it gives the correct error message.

Please look into this on high priority.

---

<div class="post-metadata">

**Author:** ![spencer](https://sea2.discourse-cdn.com/dwolla/user_avatar/discuss.dwolla.com/spencer/32/2143_2.png) [@spencer](https://discuss.dwolla.com/u/spencer)\
**Post date:** [June 7, 2022, 4:58pm UTC](https://discuss.dwolla.com/t/regarding-the-api-response/8121/2 "2022-06-07T16:58:47Z")

</div>

> [@anantdev](#):
>
> In case of every correct information we should get a success message in response of the api but currently while hitting the API the response is blank and while getting no response in success case the user is getting added on dashboard and each detail is visible on the dashboard but for the same API should respond with a success message on postman collection.

Hi @anantdev , POSTs to create a new resource in the API should return a 201 with an empty response body and a link to lookup the created resource in the `Location` header. You’ll want to follow the Location header by making a GET to the URL of the created resource.

> [@anantdev](#):
>
> In case of error handling case, if any information is entered false or duplicate it shows the correct response i.e it gives the correct error message.

Yes, that’s correct. Error responses that cover the two use cases described should provide a detail message of what went wrong with the request. More info can be found in the [errors section](https://developers.dwolla.com/api-reference#validation-errors) of our docs.
