Created
March 3, 2015 03:58
-
-
Save evandroamparo/599c027e662036869f50 to your computer and use it in GitHub Desktop.
Comunicado de Interrupção do Serviço Móvel Pessoal
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://www.vivo.com.br/portalweb/appmanager/env/web?_nfpb=true&_nfls=false&_pageLabel=P80200515731386955103141# | |
$res = (Invoke-WebRequest "https://sslplataformavivol.clientes.ananke.com.br/cismp/api/movel/getFutureList/ES/CACHOEIRO%20DE%20ITAPEMIRIM/2015-03-03?callback=callback&_=1425353373132").content | |
$regex = [regex] 'callback\((.*)\)' | |
$conteudo = $regex.Matches($res).groups[1] | |
$json = ConvertFrom-Json $conteudo | |
write-host $json.cont.message |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment