I don’t believe there is support to put the parameters in the header, but you can put them in the body of the request and not as part of the url.
blake
(Blake Erickson)
2
相关话题
| 话题 | 回复 | 浏览量 | 活动 | |
|---|---|---|---|---|
| API Key as a query string parameter is a security risk, right? | 4 | 9328 | 2020 年5 月 14 日 | |
| Discourse API - Unable to query certain endpoints | 7 | 1638 | 2019 年10 月 1 日 | |
| Authenticating using API keys when accessing API through fetch | 4 | 1585 | 2019 年11 月 28 日 | |
| Using Discourse API to return user data when the "Require authentication to read content on this site, disallow anonymous access." setting is checked | 7 | 3084 | 2020 年8 月 11 日 | |
| How to set Authorization token in request headers when user attempts to login on discourse | 2 | 2272 | 2023 年4 月 28 日 |