Announcement

Collapse
No announcement yet.

Reading an HTTP Response Body

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Reading an HTTP Response Body

    Hello .......
    Can you help me with a formula to update my property after I Send HTTP Request
    i try this :
    $id= json\retrieve($_lastHttpResponseBody, 'id');
    entity\setAttribute('someIdField', $id);

    but not work

    I add new field in my property is webID

  • #2
    hi,
    maybe try :

    $id= json\retrieve($_lastHttpResponseBody, 'result.id');

    Comment


    • nail005
      nail005 commented
      Editing a comment
      thnx Item, I tried it but it doesn't work

  • #3
    thnx item, you are right it works now


    $id = json\retrieve($_lastHttpResponseBody, 'result.id');
    entity\setAttribute('webid', $id);

    Comment

    Working...
    X