# Unable to Access OneFlow Server api from Rest Client

**URL:** <https://forum.opennebula.io/t/unable-to-access-oneflow-server-api-from-rest-client/3891>\
**Category:** Integration Support\
**Created:** [February 27, 2017, 6:41am UTC](https://forum.opennebula.io/t/unable-to-access-oneflow-server-api-from-rest-client/3891 "2017-02-27T06:41:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![saravana](https://avatars.discourse-cdn.com/v4/letter/s/71c47a/32.png) [@saravana](https://forum.opennebula.io/u/saravana)\
**Post date:** [February 27, 2017, 6:41am UTC](https://forum.opennebula.io/t/unable-to-access-oneflow-server-api-from-rest-client/3891/1 "2017-02-27T06:41:56Z")

</div>

Hi,

We were trying to access One Flow Server API from Rest Client. We are able to contact the OneFlow Server through the port 2474. OneFlow Server is asking for Username and Password when we don’t provide them. If we give oneadmin and its password we are getting the following response error.We are not able to read much into this error.

 body { text-align:center;font-family:helvetica,arial;font-size:22px; color:#888;margin:20px} #c {margin:0 auto;width:500px;text-align:left} 
## Sinatra doesn’t know this ditty.
 ![](http://192.168.20.2:2474/ __sinatra__ /404.png)
 Try this: 
```
get '/service/' do
  "Hello World"
end
```

What should be the user credentials that we need to provide to access OneFlow REST API from REST client?

Thanks,  
Saravana

---

<div class="post-metadata">

**Author:** ![saravana](https://avatars.discourse-cdn.com/v4/letter/s/71c47a/32.png) [@saravana](https://forum.opennebula.io/u/saravana)\
**Post date:** [February 27, 2017, 9:40am UTC](https://forum.opennebula.io/t/unable-to-access-oneflow-server-api-from-rest-client/3891/2 "2017-02-27T09:40:35Z")

</div>

Hi ,

I got it working. It was a couple of mistake , appending ‘/’ at the end of the url and giving hashed password instead of the correct one.

Thanks,  
Saravana
