-
-
Notifications
You must be signed in to change notification settings - Fork 596
Add custom headers #603
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
Comments
At the moment, unfortunately; no. However it should be pretty simple to add a header provider to it. Is it something you’re willing to contribute back? |
How can we do this?
|
Seems over complicated as it introduces a new concept |
@flovilmart if you have any ideas and need help, let me know... |
On the other end; that could work, perhaps using an event emitter somewhere that emits the request object and let a consumer mutate it |
Something like this?
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Also interested in this feature. Is there any way to hook into parse to add custom header to every request from the app ? |
+1 on this. This feature would add a lot of flexibility. |
Upvote for this. In my case, I can easily distinguish requests from my custom express API handlers and the ones made by Parse itself in my Parse hooks. Now they are simply identical. |
Is there a way to add additional headers (on the fly, per request) to each http request made by the parse sdk?
I'd love to add a couple headers to identify which of our apps is making the request, and other info like that.
This can be done today with the Android SDK by configuring a network interceptor.
https://stackoverflow.com/questions/47372894/parse-com-android-sdk-okhttp-interceptor
The text was updated successfully, but these errors were encountered: