Created
October 13, 2016 00:00
-
-
Save preetamtt/298393fb6023f889229ac779e2f85c97 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(venv) preetam-mac:python preetam$ curl -v -X POST --data-binary @post_body localhost:3000/match | |
* Trying ::1... | |
* Connected to localhost (::1) port 3000 (#0) | |
> POST /match HTTP/1.1 | |
> Host: localhost:3000 | |
> User-Agent: curl/7.43.0 | |
> Accept: */* | |
> Content-Length: 3664 | |
> Content-Type: application/x-www-form-urlencoded | |
> Expect: 100-continue | |
> | |
< HTTP/1.1 100 Continue | |
* We are completely uploaded and fine | |
< HTTP/1.1 200 OK | |
< Date: Thu, 13 Oct 2016 00:00:01 GMT | |
< Content-Length: 0 | |
< Content-Type: text/plain; charset=utf-8 | |
< | |
* Connection #0 to host localhost left intact | |
where post_body is: | |
{ | |
"needed_time_in_seconds": 1481400000, | |
"user_id": 13053449, | |
"remote": false, | |
"zip": "19148", | |
"price": 2, | |
"to_customer": true, | |
"create_time": 1473393561, | |
"to_pro": false, | |
"service_id": null, | |
"form_data": [ | |
{ | |
"mdv_metadata_value_id": 128894547, | |
"mdv_data": [ | |
{ | |
"description": "60", | |
"key": 6 | |
} | |
], | |
"mdv_mdf_metadata_field_id": 2300, | |
"mdv_version": 1, | |
"mdv_req_request_id": 20084161, | |
"num_possible_values": 5 | |
}, | |
{ | |
"mdv_metadata_value_id": 128894548, | |
"mdv_data": [ | |
{ | |
"description": null, | |
"key": 1 | |
}, | |
{ | |
"description": null, | |
"key": 2 | |
}, | |
{ | |
"description": null, | |
"key": 3 | |
}, | |
{ | |
"description": null, | |
"key": 4 | |
}, | |
{ | |
"description": null, | |
"key": 5 | |
}, | |
{ | |
"description": null, | |
"key": 6 | |
} | |
], | |
"mdv_mdf_metadata_field_id": 2297, | |
"mdv_version": 1, | |
"mdv_req_request_id": 20084161, | |
"num_possible_values": 6 | |
}, | |
{ | |
"mdv_metadata_value_id": 128894549, | |
"mdv_data": [ | |
{ | |
"description": null, | |
"key": 1 | |
} | |
], | |
"mdv_mdf_metadata_field_id": 2296, | |
"mdv_version": 1, | |
"mdv_req_request_id": 20084161, | |
"num_possible_values": 5 | |
}, | |
{ | |
"mdv_metadata_value_id": 128894550, | |
"mdv_data": [ | |
{ | |
"description": null, | |
"key": 7 | |
} | |
], | |
"mdv_mdf_metadata_field_id": 4198, | |
"mdv_version": 1, | |
"mdv_req_request_id": 20084161, | |
"num_possible_values": 6 | |
}, | |
{ | |
"mdv_metadata_value_id": 128894551, | |
"mdv_data": [ | |
{ | |
"description": "Mickey & minnie mouse ", | |
"key": 1 | |
} | |
], | |
"mdv_mdf_metadata_field_id": 2298, | |
"mdv_version": 1, | |
"mdv_req_request_id": 20084161, | |
"num_possible_values": 2 | |
}, | |
{ | |
"mdv_metadata_value_id": 128894552, | |
"mdv_data": [ | |
{ | |
"description": null, | |
"key": 1 | |
}, | |
{ | |
"description": null, | |
"key": 2 | |
} | |
], | |
"mdv_mdf_metadata_field_id": 3877, | |
"mdv_version": 1, | |
"mdv_req_request_id": 20084161, | |
"num_possible_values": 5 | |
}, | |
{ | |
"mdv_metadata_value_id": 128894553, | |
"mdv_data": [ | |
{ | |
"description": null, | |
"key": 1 | |
} | |
], | |
"mdv_mdf_metadata_field_id": 2138, | |
"mdv_version": 1, | |
"mdv_req_request_id": 20084161, | |
"num_possible_values": 4 | |
} | |
], | |
"dist": 0, | |
"category_id": 103, | |
"id": 20084161 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment