{ "parameters": [ ], "response_fields": [ ], "requests": [ { "request_headers": { "Content-Type": "application/json", "Authorization": "Token token=\"31NgTSxxcFYoiicmjYcxAntn\"", "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-Flash-Messages", "ETag": "W/\"6ef3657762c3cd36ef4effe376b4e0b6\"", "Cache-Control": "no-cache, no-store, must-revalidate", "X-Request-Id": "5aa7a39a-5707-41a0-84ac-a857dabca6e2", "X-Runtime": "0.010824", "Expires": "0", "Content-Length": "203" }, "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\": \"5d5ecb13d4322a04dfbf7414\",\n \"email\": \"user284@workarea.com\",\n \"public_info\": \"BC\",\n \"first_name\": \"Ben\",\n \"last_name\": \"Crouse\",\n \"updated_at\": \"2019-08-22T17:04:19.694Z\",\n \"created_at\": \"2019-08-22T17:04:19.694Z\"\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=\\\"31NgTSxxcFYoiicmjYcxAntn\\\"\" \\\n\t-H \"X-Http-Method-Override: GET\"" } ], "resource": "Accounts", "description": "Updating an account", "route": "/api/storefront/account", "http_method": "POST" }