From 893b229cc6b35c09181a84050f34fb79024e41c2 Mon Sep 17 00:00:00 2001 From: zman Date: Fri, 7 Feb 2025 22:14:08 -0500 Subject: [PATCH] j --- requests.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 requests.md diff --git a/requests.md b/requests.md new file mode 100644 index 0000000..0a4e313 --- /dev/null +++ b/requests.md @@ -0,0 +1,23 @@ +curl -J http://192.168.1.41:8000/api/tcgplayer/inventory/update --remote-name + +curl -J -X POST \ -H "Content-Type: application/json" \ + -d '{"open_box_ids": ["e20cc342-23cb-4593-89cb-56a0cb3ed3f3"]}' \ + http://192.168.1.41:8000/api/tcgplayer/inventory/add --remote-name + +curl -X POST http://192.168.1.41:8000/api/boxes \ +-H "Content-Type: application/json" \ +-d '{ + "type": "collector", + "set_code": "MOM", + "sku": "ABC123", + "num_cards_expected": 15 +}' + +curl -X POST http://192.168.1.41:8000/api/boxes/box123/open \ +-H "Content-Type: application/json" \ +-d '{ + "product_id": "box123", + "file_ids": ["file1", "file2"], + "num_cards_actual": 15, + "date_opened": "2025-02-07T12:00:00Z" +}' \ No newline at end of file