22.10.2020, 07:06
(22.10.2020, 06:30)admin Wrote: What do you get in response body? You should also remove Accept-Encoding header otherwise body will be compressed with gzip instead of plain text.
I see the plain website, i think the form is not filled and executed. But how to do this.
same source as:
https://interop.ondilo.com/oauth2/author...d44ef532c5
Code:
* table:
[1]
* string:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Ondilo authorization page</title>
<style>
* {
margin: 10px 4px 10px 4px;
}
.box {
width: 340px;
margin: auto;
border: 1px solid rgb(41, 165, 155);
}
.banner {
margin: 0px;
background-color: rgb(41, 165, 155);
height: 50px;
position: relative;
}
.ico {
position: absolute;
top: 3px;
left: 4px;
}
.ondilo {
position: absolute;
top: -1px;
right: 4px;
}
strong {
margin: 0px;
}
label {
margin-top: 8px;
margin-bottom: 0px;
display: block;
font-size: 0.8em;
color: gray;
}
input, select {
font-size: 1.2em;
}
input[type=text], input[type=password], select {
width: 312px;
}
input[type=submit] {
width: 322px;
display: block;
margin-bottom: 25px;
}
.authorize {
color: white;
background-color: rgb(41, 165, 155);
margin-bottom: 10px;
margin-top: 25px;
border-color: rgb(41, 165, 155);
}
p {
text-align: center;
margin-top: 25px;
margin-bottom: 25px;
}
.warning p, .warning ul {
margin: 0 0 0 0;
line-height: 15px;
}
</style>
</head>
<body>
<div class="box">
<div class="banner">
<img src="/images/ico.png" alt="ICO" title="ICO" class="ico"/
[2]
* string: >
<img src="/images/ondilo.png" alt="Ondilo" title="Ondilo" class="ondilo"/>
</div>
<form method="post">
<p>Sign in to allow <strong>customer_api</strong> to connect to your <strong>Ondilo</strong> account and access the related data</p>
<label for="login">Your email address</label><input type="text" name="login" ><br/>
<label for="pasword">Your password</label><input type="password" name="password">
<label for="locale">Your language</label><select id="locale" name="locale">
<option value="en">English</option>
<option value="fr">Français</option>
<option value="es">Español</option>
<option value="de">Deutsch</option>
<option value="pt">Português</option>
<option value="nl">Nederlands</option>
<option value="it">Italiano</option>
<option value="cs">Čeština</option>
<option value="hu">Magyar</option>
<option value="sv">Svenska</option>
<option value="ro">Română</option>
</select>
<div class="warning">
<p>
We remind that ICO takes measures every hour.</br>
In order to avoid excessive load of our servers, the requests to the Ondilo Customer API are limited to the following per user quotas :
<ul>
<li>5 requests per second</li>
<li>30 requests per hour</li>
</ul>
</p>
</div>
<input type="submit" name="proceed" value="Authorize" class="authorize">
<input type="submit" name="proceed" value="Cancel">
</form>
</div>
</body>
</html>