Hoppa till huvudinnehållet

Using the WebRequest activity

Kommentarer

1 kommentar

  • Permanently deleted user

    Hi Halil, 

    If you use the web request activity, you can take the result and use it in GetTextFromBytes, and the result from that activity will be your JSON response. You can then use the GetJsonValue activity to get the values you are looking for. The GetJsonValue uses JPATH to allow you to pull out values from the JSON heirarchy. 

    If you put "base" in the Path argument for the GetJsonValue activity, you would get a string = cmc stations. Parsing out values deeper in, or getting a specific value from an array is slightly  trickier but the documentation on JPATH is pretty good. 

    Good luck.

    0

Du måste logga in om du vill lämna en kommentar.