Project

General

Profile

Actions

Feature #11119

closed

GET/POST calls via Report - REST Client

Added by Carsten Rose over 3 years ago. Updated over 3 years ago.

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

100%

Estimated time:
Discuss:
Prio Planung:
Vote:

Description

Actions #1

Updated by Carsten Rose over 3 years 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:...}}, ...
Actions #2

Updated by Carsten Rose over 3 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
Actions #3

Updated by Carsten Rose over 3 years ago

  • Target version changed from next5 to 20.9.0
Actions

Also available in: Atom PDF