Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'easyinvoice-source' header to the create function #4

Open
dveldhoen opened this issue Dec 25, 2021 · 0 comments
Open

Add 'easyinvoice-source' header to the create function #4

dveldhoen opened this issue Dec 25, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@dveldhoen
Copy link
Owner

To be able to identify which package is being used to generate invoices we can add a header to the POST request which the backend uses to identify the traffic source.

The header key should be: easyinvoice-source
The header value should be: pip

The backend will recognize this header automatically and log every created invoice in the database with pip as source.

@dveldhoen dveldhoen added the enhancement New feature or request label Dec 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants