# Deployed API not working

**URL:** https://discourse.nodered.org/t/deployed-api-not-working/4262
**Category:** General
**Created:** [24 October 2018 14:01 UTC](https://discourse.nodered.org/t/deployed-api-not-working/4262 "2018-10-24T14:01:54Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Venkatarun](https://avatars.discourse-cdn.com/v4/letter/v/5fc32e/32.png) [@Venkatarun](https://discourse.nodered.org/u/Venkatarun)
#### Post date: [24 October 2018 14:01 UTC](https://discourse.nodered.org/t/deployed-api-not-working/4262/1 "2018-10-24T14:01:54Z")

</div>

I have created the API Flow and Successfully deployed the same. When I access the deployed API. Its return as 'Cannot GET /api/test'. If I have restarted Node-RED or Nginx, API respond as expected.

Please let me know, How to fix this issue.
