Pass received Set-Cookie header to each request to private API as 'Cookie' header.
| Name | Description |
|---|---|
| auth[login] | Login |
| auth[password] | Password |
| auth[cookie_auth] | Cookie Auth |
Accept: application/json Content-Type: application/json Host: example.org Cookie:
POST /api/rest/customer/v1/auth
{"auth":{"login":"login","password":"password","cookie_auth":true}}
x-frame-options: SAMEORIGIN x-xss-protection: 0 x-content-type-options: nosniff x-permitted-cross-domain-policies: none referrer-policy: strict-origin-when-cross-origin content-type: application/json cache-control: no-cache set-cookie: _yeti_customer_v1_session=eyJhbGciOiJIUzI1NiJ9.eyJhdWQiOlsiY3VzdG9tZXItdjEiXSwic3ViIjoxMCwiZXhwIjoxNzcyMjEyMDExfQ.HGQZyvJp6XUC6-1hyqXp_C_7CAH_yGuToZ12XD2N4KU; path=/; expires=Fri, 27 Feb 2026 17:06:51 GMT; httponly; samesite=lax x-request-id: c048dad2-eb9f-4ff0-bd4c-858b5a0d79c3 x-runtime: 0.005615 content-length: 0
201 Created