Need some help with a .cfm output...
Not Sure if this would be the right forum. But here is the puzzler. I'm trying to capture the information sent by a .cfm page. "URL" .. It's for an XML form which is no longer working on my program.
Here is the site
http://www.correios.com.br/encomendas/prazo/default.cfm It's the Brazilian post office.
If you enter the data
servico = Pac
CEP de Origem: 70660-054
CEP de Destino: 71050-161
Peso estimado até:
Kg = 10
Comprimento: 28 cm Largura: 20 cm Altura: 20 cm
Then press "calcular"
**************************************
You should get this result:
CEP: 70660054 71050161
Endereço: AOS 5 Bloco D QE 15 Conjunto P
Bairro: Área Octogonal Guará II
Cidade/UF: Cruzeiro/DF Guará/DF
Prazo de Entrega: 3 DIAS ÚTEIS
Dias de entrega:
Segunda a Sexta-feira.
Valor do Frete: R$ 18,70
The challenge here is to capture how the data (url) is sent to the site. It should look something like this:
"ws.correios.com.br/calculador/CalcPrecoPrazo.aspx?nCdEmpresa=&sDsSenha=&sCepOrigem=%s&sCepDestino=%s&nVlPeso=%s&nCdFormato=1&nVlComprimento=25&nVlAltura=2&nVlLargura=5&sCdMaoPropria=n&nVlValorDeclarado=%s&sCdAvisoRecebimento=n&nCdServico=41106&nVlDiametro=0"
The code I have is generating errors. Thus I would like to find out what's sent to the correios by the submit button using the parameters above.
Can anyone help me with this ?
Thank you for the help.
Fabio
