@@ -4,43 +4,43 @@ name: test-4
44spec :
55 metadata : {}
66 req :
7- method : PUT
7+ method : POST
88 proto_major : 1
99 proto_minor : 1
10- url : http://localhost:8080/products/1
10+ url : http://localhost:8080/products
1111 header :
1212 Accept : ' */*'
13- Content-Length : " 69 "
13+ Content-Length : " 54 "
1414 Content-Type : application/json
1515 Host : localhost:8080
16- User-Agent : curl/8.10.1
16+ User-Agent : curl/8.11.0
1717 body : |-
1818 {
19- "id": "1 ",
20- "name": "Updated Product1 ",
21- "price": 89.99
19+ "id": "3 ",
20+ "name": "Charger ",
21+ "price": 50.00
2222 }
23- timestamp : 2024-10-31T19:10:24.321102796 +05:30
23+ timestamp : 2024-11-29T12:54:29.102518702 +05:30
2424 resp :
2525 status_code : 200
2626 header :
2727 Content-Type : application/json
28- Date : Thu, 31 Oct 2024 13:40:24 GMT
29- body : ' {"id":"1 ","name":"Updated Product1 ","price":89.99 }'
28+ Date : Fri, 29 Nov 2024 07:24:29 GMT
29+ body : ' {"id":"3 ","name":"Charger ","price":50.0 }'
3030 status_message : OK
3131 proto_major : 0
3232 proto_minor : 0
33- timestamp : 2024-10-31T19:10:27.409136678 +05:30
33+ timestamp : 2024-11-29T12:54:32.171361093 +05:30
3434 objects : []
3535 assertions :
3636 noise :
3737 header.Date : []
38- created : 1730382027
38+ created : 1732865072
3939curl : |-
40- curl --request PUT \
41- --url http://localhost:8080/products/1 \
42- --header 'Host: localhost:8080' \
43- --header 'User-Agent: curl/8.10.1' \
40+ curl --request POST \
41+ --url http://localhost:8080/products \
42+ --header 'User-Agent: curl/8.11.0' \
4443 --header 'Accept: */*' \
4544 --header 'Content-Type: application/json' \
46- --data "{\n \"id\": \"1\",\n \"name\": \"Updated Product1\",\n \"price\": 89.99\n}"
45+ --header 'Host: localhost:8080' \
46+ --data "{\n \"id\": \"3\",\n \"name\": \"Charger\",\n \"price\": 50.00\n}"
0 commit comments