Add Query String Support #2

Manually merged
pascal merged 1 commits from query_string_support into trunk 2021-03-07 18:32:55 -06:00
Owner

Summary

Allow clients to send every parameter (including X-API-Key) as query string.

Makes it possible for clients whch can not send headers or bodys to interact with the API.

Implementation

Check for API key in params if not present in header. No further changes needed as RoR already includes query strings in params.

Note: Query string params will take precedence over body params. This change does also allow for X-API-Key to be present in body instead of header or query string.

### Summary Allow clients to send every parameter (including `X-API-Key`) as query string. Makes it possible for clients whch can not send headers or bodys to interact with the API. ### Implementation Check for API key in params if not present in header. No further changes needed as RoR already includes query strings in `params`. Note: Query string params will take precedence over body params. This change does also allow for `X-API-Key` to be present in body instead of header or query string.
pascal added 1 commit 2021-03-07 18:27:16 -06:00
pascal manually merged commit 297016e799 into trunk 2021-03-07 18:32:55 -06:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: pascal/rynDNS#2