mirror of
https://github.com/zen-browser/rices.git
synced 2025-07-07 17:05:40 +02:00
fix user-agent update bug
fix remove extra base64 encoding fix update http tests
This commit is contained in:
parent
55fa0b747f
commit
612e27a55c
6 changed files with 12 additions and 21 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
POST {{baseUrl}}/rices
|
||||
Content-Type: application/json
|
||||
X-Zen-Rice-Name: cool-zenrice-aurora2
|
||||
X-Zen-Rice-Name: cool-zenrice-test-base64211
|
||||
X-Zen-Rice-Author: jhon@doe.com
|
||||
User-Agent: ZenBrowser/1.2b.0 (EndeavourOS x86_64)
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
@baseUrl = http://localhost:3000
|
||||
@previous_slug = cool-zenrice-aurora2-4fe6417d-f901-43d2-92fc-720c6ed3e449
|
||||
@previous_slug = cool-zenrice-test-base64211-5f874c8c-71f7-4b45-830a-aa86c9328455
|
||||
|
||||
|
||||
GET {{baseUrl}}/rices/{{previous_slug}}
|
|
@ -1,12 +1,10 @@
|
|||
@baseUrl = http://localhost:3000
|
||||
@previous_slug = cool-zenrice-aurora2-4fe6417d-f901-43d2-92fc-720c6ed3e449
|
||||
@previous_token = e3ec0c0f-f455-4a4e-a06d-69d2e3bbf46c
|
||||
@previous_slug = cool-zenrice-test-base64211-5f874c8c-71f7-4b45-830a-aa86c9328455
|
||||
@previous_token = 84780af0-191e-4f77-8c23-25165c89d27e
|
||||
|
||||
PUT {{baseUrl}}/rices/{{previous_slug}}
|
||||
Content-Type: application/json
|
||||
x-zen-rices-token: {{previous_token}}
|
||||
X-Zen-Rice-Name: cool-zenrice-aurora2
|
||||
X-Zen-Rice-Author: jhon@doe.com
|
||||
User-Agent: ZenBrowser/1.2b.0 (EndeavourOS x86_64)
|
||||
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue