Skip to content

Draft: refactor: specify HTTP request method in os.api

naskya requested to merge (removed):os.api into develop

What does this PR do? (Please give us a brief description of what this PR does.)

os.api("endpoint", { params })os.api("endpoint", "POST", { params })

os.apiGet("endpoint", { params })os.api("endpoint", "GET", { params })

Contribution Guidelines By submitting this merge request, you agree to follow our Contribution Guidelines

  • I agree to follow this project's Contribution Guidelines
  • I have made sure to test this pull request
  • I have made sure to run pnpm run format before submitting this pull request

If this merge request makes changes to the Firefish API, please update docs/

  • I updated the document / This merge request doesn't include API changes
Edited by naskya

Merge request reports