{ "parameters": [ ], "response_fields": [ ], "requests": [ { "request_headers": { "Content-Type": "application/json", "Authorization": "Token token=\"bzriwTKpVj44uzWbXRedzDx6\"", "X-Http-Method-Override": "GET" }, "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", "Content-Type": "application/json; charset=utf-8", "Access-Control-Allow-Origin": "*", "Access-Control-Allow-Headers": "*", "Access-Control-Allow-Methods": "GET, POST, PATCH, PUT, DELETE, OPTIONS", "X-Requested-With": "", "Vary": "X-Requested-With, X-Workarea-Segments", "Last-Modified": "Wed, 27 Nov 2019 00:54:28 GMT", "Cache-Control": "no-cache, no-store, must-revalidate", "X-Request-Id": "b4f6c0e4-a095-46ac-b0ca-0fa3aab3fb43", "X-Runtime": "0.003646", "X-Workarea-Segments": "", "Expires": "0", "Content-Length": "202" }, "request_method": "POST", "request_path": "/api/storefront/account", "request_body": "{\"email\":\"billy@workarea.com\",\"password\":\"adifferentbutstillreallysecurepassword\"}", "request_content_type": "application/json", "response_status": 200, "response_status_text": "OK", "response_body": "{\n \"id\": \"5dddc9441241596aa520537c\",\n \"email\": \"user54@workarea.com\",\n \"public_info\": \"BC\",\n \"first_name\": \"Ben\",\n \"last_name\": \"Crouse\",\n \"updated_at\": \"2019-11-27T00:54:28.601Z\",\n \"created_at\": \"2019-11-27T00:54:28.601Z\"\n}", "response_content_type": "application/json", "curl": "curl \"https://www.example.com/api/storefront/account\" -d '{\"email\":\"billy@workarea.com\",\"password\":\"adifferentbutstillreallysecurepassword\"}' -X POST \\\n\t-H \"Content-Type: application/json\" \\\n\t-H \"Authorization: Token token=\\\"bzriwTKpVj44uzWbXRedzDx6\\\"\" \\\n\t-H \"X-Http-Method-Override: GET\"" } ], "resource": "Accounts", "description": "Updating an account", "route": "/api/storefront/account", "http_method": "POST" }