ArchiveBox / ArchiveBox/archivebox-browser-extension

/api/v1/auth/get_api_token GET and POST mixup

Open Beginner friendly
#57 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
477
Forks
43
PR merge metrics
No merged PRs in 30d

Description

I added an API key in the browser extension (using Firefox) and pressed the "Test"-button. I quickly get an 405 method not allowed error. Taking a look with wireshark I see a GET request, however the API doc states a POST request would be needed for the /api/v1/auth/get_api_token endpoint. So maybe that is the reason for the 405-error?

Contributor guide

No contributing guide indexed for this repository

Research direction

Trace the Firefox browser extension's Test-button request to /api/v1/auth/get_api_token and compare the request method with the API documentation. Confirm the Test action uses the documented method and no longer returns a 405 Method Not Allowed response.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, authentication
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
64/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.