Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

shell curl extract bearer token from response

//With sed
curl -s http://livegopanel.club:8080/portal.php?type=stb&action=handshake&token=&JsHttpRequest=1-xml | sed 's/.*token":"(.*)".*/1/g'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #shell #curl #extract #bearer #token #response
ADD COMMENT
Topic
Name
9+6 =