Ad Widget

Collapse

Regular Expression for Oauth token

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rahuls1436
    Junior Member
    • Oct 2022
    • 5

    #1

    Regular Expression for Oauth token

    I wanted to Monitor to few REST API using Zabbix web scenario. How ever to monitor this API requires Oauth token. I am able to figure out from this doc https://www.zabbix.com/documentation...itemtypes/http Now how do i parse only access code?
    I am getting the output in this format.
    {"body":{"access_token":"some-token","token_type":"","expires_in":,"scope":"","u rl":"?uuid=all"}}
    But unable know how to get only value for access_token.
  • rahuls1436
    Junior Member
    • Oct 2022
    • 5

    #2
    Okay i am able to figure out this. I have used Jsonpath to populate access token only. Now how do i use this value in web scenario?
    Last edited by rahuls1436; 07-11-2022, 12:55.

    Comment

    Working...