File: test_event_grid_basic.yaml

package info (click to toggle)
python-azure 20181112%2Bgit-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 407,300 kB
  • sloc: python: 717,190; makefile: 201; sh: 76
file content (24 lines) | stat: -rw-r--r-- 968 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
interactions:
- request:
    body: '[{"id": "dbf93d79-3859-4cac-8055-51e3b6b54bea", "subject": "My subject",
      "data": {"key": "I accept any kind of data here"}, "eventType": "PersonalEventType",
      "eventTime": "2018-01-30T00:00:00.000Z", "dataVersion": "1"}]'
    headers:
      Accept: [application/json]
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      Content-Length: ['219']
      Content-Type: [application/json; charset=utf-8]
      User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.25
          azure-eventgrid/0.1.0]
    method: POST
    uri: https://lmazuel-eventgrid-test.westus2-1.eventgrid.azure.net/api/events?api-version=2018-01-01
  response:
    body: {string: ''}
    headers:
      api-supported-versions: ['2018-01-01']
      content-length: ['0']
      date: ['Tue, 30 Jan 2018 20:03:28 GMT']
      server: [Microsoft-HTTPAPI/2.0]
    status: {code: 200, message: OK}
version: 1