Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

gdp / apps / rest-test / restful_gdp_gateway_cors_test.html @ master

History | View | Annotate | Download (1.65 KB)

1
<html>
2
<head>
3
<meta charset="utf8">
4
<script src="https://code.jquery.com/jquery-3.2.1.min.js"
5
integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="
6
crossorigin="anonymous"></script>
7

    
8
<script src="restful_gdp_gateway_cors_test.js"> </script>
9

    
10
</head>
11
<body>
12
  <div>
13
    <H1>CORS pre-flight negotiation with GDP RESTful Gateway</H1>
14

    
15
    <H4>
16
      <pre>
17
        A restful call is made to append a record, containing log name
18
        and timestamp fields, to a GDP test log. That is followed by a
19
        read of the log's last record, which should display the same
20
        timestamp, appended to the "testcase" field. A completely
21
        successful sequence (all 200 responses) verifies that the server
22
        is supporting CORS requirements with basic authentication.
23
      </pre>
24
    </H4>
25

    
26
    <div id="method_1"> </div>
27
    <div id="request_1"> </div>
28
    <div id="time_1"> </div>
29
    <div> Response Code and Response </div>
30
    <div id="responsecode_1"> </div>
31
    <div id="response_1"> </div>
32
    <br>
33
    <div id="method_2"> </div>
34
    <div id="request_2"> </div>
35
    <div> Response Code and Response </div>
36
    <div id="responsecode_2"> </div>
37
    <div id="response_2"> </div>
38
    <br>
39
  </div>
40

    
41
  <div>
42
    <H1>Development binary (gdp-rest-01 /gdp/v2/gcl) also tested if enabled</H1>
43

    
44
    <div id="method_3"> </div>
45
    <div id="request_3"> </div>
46
    <div id="time_3"> </div>
47
    <div> Response Code and Response </div>
48
    <div id="responsecode_3"> </div>
49
    <div id="response_3"> </div>
50
    <br>
51
    <div id="method_4"> </div>
52
    <div id="request_4"> </div>
53
    <div> Response Code and Response </div>
54
    <div id="responsecode_4"> </div>
55
    <div id="response_4"> </div>
56
    <br>
57
  </div>
58

    
59
</body>
60
</html>