|
44 | 44 | \r\n{"media_url": "http://localhost:8080/img.png"} |
45 | 45 | """ |
46 | 46 |
|
47 | | -json_request_with_data = ('{"body":"{\\"a\\":\\"a\\"}\n"\n' |
48 | | - ',"headers":{"Content-Type":["application/json"],' |
49 | | - '"Host":["localhost:8080"],' |
50 | | - '"User-Agent":["curl/7.51.0"]}' |
51 | | - '\n}') |
52 | | - |
53 | | -json_request_without_data = ('{"body":""\n' |
54 | | - ',"headers":{"Content-Type":["application/json"],' |
55 | | - '"Host":["localhost:8080"],' |
56 | | - '"User-Agent":["curl/7.51.0"]}' |
57 | | - '\n}') |
| 47 | +json_request_with_data = ( |
| 48 | + '{\n"call_id":"some_id"\n,' |
| 49 | + '"content_type":"application/json"\n' |
| 50 | + ',"body":"{\\"a\\":\\"a\\"}\n"\n' |
| 51 | + ',"protocol":{"type":"json"\n' |
| 52 | + ',"request_url":"/v1/apps?something=something&etc=etc"\n' |
| 53 | + ',"headers":{"Content-Type":["application/json"],' |
| 54 | + '"Host":["localhost:8080"],"User-Agent":["curl/7.51.0"]}\n' |
| 55 | + '\n}\n\n') |
| 56 | + |
| 57 | +json_request_without_data = ( |
| 58 | + '{\n"call_id":"some_id"\n,' |
| 59 | + '"content_type":"application/json"\n' |
| 60 | + ',"body":""\n' |
| 61 | + ',"protocol":{"type":"json"\n' |
| 62 | + ',"request_url":"/v1/apps?something=something&etc=etc"\n' |
| 63 | + ',"headers":{"Content-Type":["application/json"],' |
| 64 | + '"Host":["localhost:8080"],"User-Agent":["curl/7.51.0"]}\n' |
| 65 | + '\n}\n\n') |
0 commit comments