Project

General

Profile

Feature #11119

GET/POST calls via Report - REST Client

Added by Carsten Rose about 2 months ago. Updated about 2 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
06.09.2020
Due date:
% Done:

100%

Estimated time:
Discuss:

Description

Associated revisions

Revision faf44578 (diff)
Added by Carsten Rose about 2 months ago

Fixes #11119 - restClient via ... AS _link

History

#1 Updated by Carsten Rose about 2 months ago

  • Description updated (diff)
n:http://antmedia-dev.math.uzh.ch/WebRTCAppEE/rest/v2/broadcasts/create
content:{'streamId' => "ASDKLJfdlajfhdkhH"}
method:POST
header:content-type: application/json; charset: utf8\r\n
ssl:{"verify_peer":true,"allow_self_signed":false}
timeout:5
  • Parameter:
    • [n] URL (endpoint, restCall)
    • [method] GET, POST, ...
    • [header] content-type: application/json\r\n
    • [content] any string, e.g. JSON encoded
  • Die Antwort des Calls ist als ein String in dem Column Value
  • STORE_CLIENT
    • {{http-status:C}}
    • {{error-message:C:alnumx}}
    • Es wird davon ausgegangen das die Antwort JSON kodiert ist und ein json_decode() versucht. Ist das erfolgreich wird jedes JSON Feld der obersten Ebene mit dem gegebenen key-Namen in STORE_VAR abgelegt.
    • {{<key name>:C:...}}, ...

#2 Updated by Carsten Rose about 2 months ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

#3 Updated by Carsten Rose about 2 months ago

  • Target version changed from 20.9.1 to 20.9.0

Also available in: Atom PDF