Java - Jsoup returns body with pipes and numbers

 
Vista:

Jsoup returns body with pipes and numbers

Publicado por Carmen (3 intervenciones) el 25/06/2018 23:32:41
I am doing a Java program and I use Jsoup to retrieve some documents from a web site, when I send the form with the data I receive a page with a body that I dont understand.
Here is the code I receive:
<html>
<head></head>
<body>
1|#||4|363|pageRedirect||https%3a%2f%2fcfdicontribuyentes.accesscontrol.windows.net%2fv2%2fwsfederation%2f%3fwa%3dwsignin1.0%26wtrealm%3dhttps%253a%252f%252fportalportalcfdi.facturaelectronica.sat.gob.mx%252f|
</body>
</html>

Before connecting to the form page I had to login to the website and work with some redirecting pages, now it looks like I need to redirect again, but that is a step that I already did, I feel i have to work with the characters before "pageRedirecting" but dont know what.
If you know what is that please help out.
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

Jsoup returns body with pipes and numbers

Publicado por Carmen (3 intervenciones) el 26/06/2018 22:08:57
I had to set a header property!
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar