# Cannot perform a web post request to a server from notecard

**URL:** <https://discuss.blues.com/t/cannot-perform-a-web-post-request-to-a-server-from-notecard/2103>\
**Category:** Troubleshooting\
**Created:** [May 1, 2024, 9:32pm UTC](https://discuss.blues.com/t/cannot-perform-a-web-post-request-to-a-server-from-notecard/2103 "2024-05-01T21:32:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![barcesat](https://avatars.discourse-cdn.com/v4/letter/b/d9b06d/32.png) [@barcesat](https://discuss.blues.com/u/barcesat)\
**Post date:** [May 1, 2024, 9:32pm UTC](https://discuss.blues.com/t/cannot-perform-a-web-post-request-to-a-server-from-notecard/2103/1 "2024-05-01T21:32:29Z")

</div>

I’m trying to perform a web transaction as described [here](https://dev.blues.io/notecard/notecard-walkthrough/web-transactions/).  
I’ve set the route this way:  
Route name: post\_test  
URL: [https://posttestserver.dev/p/y1fyj8gy56w23i09/post](https://posttestserver.dev/p/y1fyj8gy56w23i09/post)  
Notefiles: Selected Notefiles: System Notefiles + barcode.qo  
Data:Transform Data: JSONata Expression: {“qr”:(body.qr)}

This is my example data (sent using the web serial terminal connected by USB to the notecard):

```auto
{
  "req": "web.post",
  "route": "post_test",
  "name": "/post",
  "body": { "qr": "test1" }
}

```

The response I get is this:

```auto
{
 "result": 503,
 "body": {
  "err": "hub request error: notehub route with alias 'post_test' cannot be found"
 }
}

```

However, if I try to send it using a note.add request this way:

```auto
{
  "req": "note.add",
  "file": "barcode.qo",
  "body": { "qr": "test" },
  "sync": true
}

```

It works, I get a {“total”:1} response and I see in notehub and at the server the data & code 200.  
However, this way I have no idea that the data went through and what was the servers response.  
I tried it with a different server and got the same “notehub route with alias … cannot be found” error.  
Am I doing something wrong?  
Thanks,  
Ziv

---

<div class="post-metadata">

**Author:** ![barcesat](https://avatars.discourse-cdn.com/v4/letter/b/d9b06d/32.png) [@barcesat](https://discuss.blues.com/u/barcesat)\
**Post date:** [May 2, 2024, 10:17pm UTC](https://discuss.blues.com/t/cannot-perform-a-web-post-request-to-a-server-from-notecard/2103/2 "2024-05-02T22:17:37Z")

</div>

Shame on me… I missed the part in the documentation that states that a different “Proxy for Notecard Web Requests” type of route needs to be made. all is well now 🙂
