zhl 1aa0e1b6d0 refactor: Add HTTP headers to API requests.
- Add headers to the fetch and refresh access token functions
- Allow for optional headers in request data interface
- Fix syntax error in headers object_literals in request method
- Use default configuration instead of creating a new object in request method
2023-03-27 21:36:49 +08:00
..