# HTTP verb tunnelling is not working with internal URL in server-side V8 scripting

**URL:** <https://community.dreamfactory.com/t/http-verb-tunnelling-is-not-working-with-internal-url-in-server-side-v8-scripting/3580>\
**Category:** Server-Side Scripting\
**Created:** [January 16, 2017, 2:22pm UTC](https://community.dreamfactory.com/t/http-verb-tunnelling-is-not-working-with-internal-url-in-server-side-v8-scripting/3580 "2017-01-16T14:22:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![abhinavg](https://avatars.discourse-cdn.com/v4/letter/a/c2a13f/32.png) [@abhinavg](https://community.dreamfactory.com/u/abhinavg)\
**Post date:** [January 16, 2017, 2:22pm UTC](https://community.dreamfactory.com/t/http-verb-tunnelling-is-not-working-with-internal-url-in-server-side-v8-scripting/3580/1 "2017-01-16T14:22:41Z")

</div>

Hello all

In server side V8 scripting (while creating a api service with custom scripting), when using http verb tunnelling,

`POST http://localhost:8080/api/v2/system/user`  
ie  
`url = 'http://localhost:8080/api/v2/system/user' result = platform.api.post(url, JSON.stringify(payload), options);`

with following headers:  
`Content-Type: application/json X-DreamFactory-Api-Key: 4653....7c1690f47d X-DreamFactory-Session-Token: eyNTE4LCJuY....mYiOjE0ODQ0NTA5MT X-HTTP-Method: GET`

**is working** but  
`POST system/user`  
ie  
`url = 'system/user' result = platform.api.post(url, JSON.stringify(payload), options);`

with same headers **is NOT working**.

It seems for tunneling, external url is to be specified. Why it is not working with internal url?  
Is this a feature or a bug?

Thanks

---

<div class="post-metadata">

**Author:** ![abhinavg](https://avatars.discourse-cdn.com/v4/letter/a/c2a13f/32.png) [@abhinavg](https://community.dreamfactory.com/u/abhinavg)\
**Post date:** [January 17, 2017, 3:41am UTC](https://community.dreamfactory.com/t/http-verb-tunnelling-is-not-working-with-internal-url-in-server-side-v8-scripting/3580/2 "2017-01-17T03:41:01Z")

</div>

As per [this](https://community.dreamfactory.com/t/how-to-change-http-header-on-server-side-platform-api-get-method/1200/5) post, it seems it is a known issue/feature. Can someone confirm this?

Thanks
