{ "parameters": [ ], "response_fields": [ ], "requests": [ { "request_headers": { "Content-Type": "application/json" }, "request_query_parameters": { }, "response_headers": { "X-Frame-Options": "SAMEORIGIN", "X-XSS-Protection": "1; mode=block", "X-Content-Type-Options": "nosniff", "X-Download-Options": "noopen", "X-Permitted-Cross-Domain-Policies": "none", "Referrer-Policy": "strict-origin-when-cross-origin", "Location": "/api/admin/tax_categories/5d5ecac8d4322a04dfbf70cb", "Content-Type": "application/json; charset=utf-8", "ETag": "W/\"d82bcccf30dbf62b042fe7fbdc41975e\"", "Cache-Control": "no-cache, no-store, must-revalidate", "X-Request-Id": "e6036b43-2246-408a-98d3-436d174662cd", "X-Runtime": "0.010979", "Expires": "0", "Content-Length": "162" }, "request_method": "POST", "request_path": "/api/admin/tax_categories", "request_body": "{\"tax_category\":{\"code\":\"001\",\"created_at\":\"2019-08-22T17:03:04.922Z\",\"name\":\"Clothing\",\"updated_at\":\"2019-08-22T17:03:04.922Z\"}}", "request_content_type": "application/json", "response_status": 201, "response_status_text": "Created", "response_body": "{\n \"tax_category\": {\n \"_id\": \"5d5ecac8d4322a04dfbf70cb\",\n \"code\": \"001\",\n \"created_at\": \"2019-08-22T17:03:04.922Z\",\n \"name\": \"Clothing\",\n \"updated_at\": \"2019-08-22T17:03:04.922Z\"\n }\n}", "response_content_type": "application/json", "curl": "curl \"https://www.example.com/api/admin/tax_categories\" -d '{\"tax_category\":{\"code\":\"001\",\"created_at\":\"2019-08-22T17:03:04.922Z\",\"name\":\"Clothing\",\"updated_at\":\"2019-08-22T17:03:04.922Z\"}}' -X POST \\\n\t-H \"Content-Type: application/json\"" } ], "resource": "Tax Categories", "description": "Creating a tax category", "route": "/api/admin/tax_categories", "http_method": "POST" }