Quantcast
Channel: DreamFactory Forum - Latest topics
Viewing all articles
Browse latest Browse all 1523

V8 platform.api.pacth/put not working with remote HTTP service

$
0
0

@paulo.hgf1408 wrote:

ENV: DF 2.3.1, installation VM Bitnami.

I created an event script in my message table, and created an HTTP-api my service, but to run a resquest for my HTTP service DF removing this url parameters written into the script.

Service config

remoteURl: myUrl

params
 auth_token: token  Outbond: true  CacheKey: true
 agent: {user.display_name} Outbond: true  CacheKey: true

Headers
 Content-Type: application/json

Script

var payload = {"attr": value};
platform.api.patch('my-api/registro?user_id=id', payload);

Output my event script

Url: 'my-api/resgistro?auth_token=token&agent=display_name' // user_id is removed for DF

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 1523

Trending Articles