mirror of
https://github.com/zen-browser/rices.git
synced 2025-07-07 17:05:40 +02:00
- Added token validation for `update` and `remove` operations to ensure it matches the record in the database. - Ensured `name` and `author` from headers in `update` are validated against the existing record. - Improved error handling for mismatched or missing tokens, returning appropriate HTTP status codes.
5 lines
No EOL
148 B
HTTP
5 lines
No EOL
148 B
HTTP
@baseUrl = http://localhost:3000
|
|
@previous_slug = cool-zenrice-aurora-249dd7f2-d669-4d1f-892c-df4caa6fcbfe
|
|
|
|
|
|
GET {{baseUrl}}/rices/{{previous_slug}} |