Rev 329 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 329 | Rev 424 | ||
---|---|---|---|
Line 12... | Line 12... | ||
12 | "comment" => "", |
12 | "comment" => "", |
13 | "asn1ids" => "aaa,bbb,ccc", |
13 | "asn1ids" => "aaa,bbb,ccc", |
14 | "iris" => "", |
14 | "iris" => "", |
15 | "confidential" => 0, |
15 | "confidential" => 0, |
16 | "weid" => "", |
16 | "weid" => "", |
17 | "batch_login_username" => "test@example.com", |
17 | "batch_login_username" => "<username>", |
18 | "batch_login_password" => ".......", |
18 | "batch_login_password" => "<password>", |
19 | "batch_ajax_unlock_key" => "ee33790b233737da02e0253df666dd8284701f7a" |
19 | "batch_ajax_unlock_key" => "<unlock key>" |
20 | ); |
20 | ); |
21 | 21 | ||
22 | $ch = curl_init(); |
22 | $ch = curl_init(); |
23 | curl_setopt($ch, CURLOPT_URL, 'https://www.example.com/oidplus/ajax.php'); |
23 | curl_setopt($ch, CURLOPT_URL, '<url>'); |
24 | curl_setopt($ch, CURLOPT_POST, 1); |
24 | curl_setopt($ch, CURLOPT_POST, 1); |
25 | curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($request)); |
25 | curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($request)); |
26 | curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); |
26 | curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); |
27 | curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); |
27 | curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); |
28 | curl_setopt($ch, CURLOPT_AUTOREFERER, true); |
28 | curl_setopt($ch, CURLOPT_AUTOREFERER, true); |