Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

shell curl extract bearer token from response

//With jq (Must be installed)
curl -s http://livegopanel.club:8080/portal.php?type=stb&action=handshake&token=&JsHttpRequest=1-xml | jq -r '.js.token'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #shell #curl #extract #bearer #token #response
ADD COMMENT
Topic
Name
6+4 =