--- http_interactions: - request: method: post uri: http://admin:password@test.mxhero.com/webapi/api/v1/users/test@mxhero.com/password/check body: encoding: UTF-8 string: xxx1234 headers: User-Agent: - HTTPClient/1.0 (2.7.1, ruby 2.3.0 (2015-12-25)) Accept: - application/json Date: - Tue, 09 Jun 2020 18:10:59 GMT Content-Type: - text/plain X-Mxhero-As-User: - tester@mxhero.com Authorization: - Basic YWRtaW46cGFzc3dvcmQ= response: status: code: 204 message: headers: Server: - nginx/1.17.10 Date: - Tue, 09 Jun 2020 18:10:59 GMT Connection: - keep-alive Set-Cookie: - JSESSIONID=A45FB13F6416E2F7704C5F5839F8BF0F; Path=/webapi; HttpOnly X-Application-Context: - application:dev X-Content-Type-Options: - nosniff X-Xss-Protection: - 1; mode=block Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Pragma: - no-cache Expires: - "0" X-Frame-Options: - DENY Access-Control-Allow-Origin: - "*" Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Methods: - GET, PUT, POST, DELETE, PATCH, OPTIONS Access-Control-Allow-Headers: - DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization,x-authorization-storage body: encoding: UTF-8 string: "" http_version: recorded_at: Tue, 09 Jun 2020 18:10:59 GMT - request: method: post uri: http://admin:password@test.mxhero.com/webapi/api/v1/users/admin/password/check body: encoding: UTF-8 string: wrong headers: User-Agent: - HTTPClient/1.0 (2.7.1, ruby 2.3.0 (2015-12-25)) Accept: - application/json Date: - Tue, 09 Jun 2020 18:10:59 GMT Content-Type: - text/plain X-Mxhero-As-User: - tester@mxhero.com Cookie: - JSESSIONID=A45FB13F6416E2F7704C5F5839F8BF0F Authorization: - Basic YWRtaW46cGFzc3dvcmQ= response: status: code: 404 message: headers: Server: - nginx/1.17.10 Date: - Tue, 09 Jun 2020 18:11:00 GMT Content-Type: - application/json;charset=UTF-8 Transfer-Encoding: - chunked Connection: - keep-alive Vary: - Accept-Encoding Set-Cookie: - JSESSIONID=1210F2BCAA52EEE46A2E99A296CE1410; Path=/webapi; HttpOnly X-Application-Context: - application:dev X-Content-Type-Options: - nosniff X-Xss-Protection: - 1; mode=block Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Pragma: - no-cache Expires: - "0" X-Frame-Options: - DENY Access-Control-Allow-Origin: - "*" Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Methods: - GET, PUT, POST, DELETE, PATCH, OPTIONS Access-Control-Allow-Headers: - DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization,x-authorization-storage body: encoding: UTF-8 string: '{"timestamp":1591726260165,"status":404,"error":"user.not.found.or.invalid.password","message":"user.not.found.or.invalid.password","path":"/webapi/api/v1/users/admin/password/check"}' http_version: recorded_at: Tue, 09 Jun 2020 18:11:00 GMT - request: method: post uri: http://admin:password@test.mxhero.com/webapi/api/v1/users/inexistent.user/password/check body: encoding: UTF-8 string: xxx headers: User-Agent: - HTTPClient/1.0 (2.7.1, ruby 2.3.0 (2015-12-25)) Accept: - application/json Date: - Tue, 09 Jun 2020 18:11:00 GMT Content-Type: - text/plain X-Mxhero-As-User: - tester@mxhero.com Cookie: - JSESSIONID=1210F2BCAA52EEE46A2E99A296CE1410 Authorization: - Basic YWRtaW46cGFzc3dvcmQ= response: status: code: 404 message: headers: Server: - nginx/1.17.10 Date: - Tue, 09 Jun 2020 18:11:00 GMT Content-Type: - application/json;charset=UTF-8 Transfer-Encoding: - chunked Connection: - keep-alive Vary: - Accept-Encoding X-Application-Context: - application:dev X-Content-Type-Options: - nosniff X-Xss-Protection: - 1; mode=block Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Pragma: - no-cache Expires: - "0" X-Frame-Options: - DENY Access-Control-Allow-Origin: - "*" Access-Control-Allow-Credentials: - "true" Access-Control-Allow-Methods: - GET, PUT, POST, DELETE, PATCH, OPTIONS Access-Control-Allow-Headers: - DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization,x-authorization-storage body: encoding: UTF-8 string: '{"timestamp":1591726260540,"status":404,"error":"user.not.found.or.invalid.password","message":"user.not.found.or.invalid.password","path":"/webapi/api/v1/users/inexistent.user/password/check"}' http_version: recorded_at: Tue, 09 Jun 2020 18:11:00 GMT recorded_with: VCR 3.0.1