Skip to content

Commit

Permalink
uf
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhamv108 committed Sep 8, 2023
1 parent 8c72c1d commit 118634a
Showing 1 changed file with 157 additions and 0 deletions.
157 changes: 157 additions & 0 deletions ServerSentEvents.postman_collection.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,157 @@
{
"info": {
"_postman_id": "c1204209-805e-45ac-a3e7-e95abb73ca3e",
"name": "ServerSentEvents",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "5074949"
},
"item": [
{
"name": "StreamFlux",
"protocolProfileBehavior": {
"disabledSystemHeaders": {
"accept": true
}
},
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "text/event-stream",
"type": "text"
}
],
"url": {
"raw": "http://localhost:8080/stream-flux",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"stream-flux"
]
}
},
"response": []
},
{
"name": "[POST] userevents",
"protocolProfileBehavior": {
"disabledSystemHeaders": {
"accept": true
}
},
"request": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "text/event-stream",
"type": "text",
"disabled": true
}
],
"body": {
"mode": "raw",
"raw": "{\n \"eventId\": \"cda2e742-915b-43cf-954a-b768cb0bbd62\",\n \"name\": \"test1\",\n \"type\": \"test\",\n \"value\": \"test\",\n \"timestamp\": \"2023-08-27T05:49:41.000Z\"\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://localhost:8080/sse/user/2/events",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"sse",
"user",
"2",
"events"
]
}
},
"response": []
},
{
"name": "[GET] userevents",
"protocolProfileBehavior": {
"disableBodyPruning": true,
"disabledSystemHeaders": {
"accept": true
}
},
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "text/event-stream",
"type": "text",
"disabled": true
}
],
"body": {
"mode": "raw",
"raw": "{\n \"eventId\": \"cda2e742-915b-43cf-954a-b768cb0bbd62\",\n \"name\": \"test1\",\n \"type\": \"test\",\n \"value\": \"test\",\n \"timestamp\": \"2023-08-26T23:35:35.000Z\"\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://localhost:8080/sse/user/2/events",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"sse",
"user",
"2",
"events"
]
}
},
"response": []
},
{
"name": "StreamSSE",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8080/sse/stream-sse?userId=2&timestamp=2023-08-27T05:49:40.000+00:00",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"sse",
"stream-sse"
],
"query": [
{
"key": "userId",
"value": "2"
},
{
"key": "timestamp",
"value": "2023-08-27T05:49:40.000+00:00"
}
]
}
},
"response": []
}
]
}

0 comments on commit 118634a

Please sign in to comment.