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