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

Use default Content-Type for Feast BFF #61

Merged
merged 1 commit into from
Sep 28, 2022

Conversation

romanwozniak
Copy link
Contributor

@romanwozniak romanwozniak commented Sep 28, 2022

Context:

Feast BFF expects a proper Content-Type header to be present in the API calls. This MR sets the "Content-Type": "application/json" header by default at the level of the useFeastCoreApi hook, so that there is no need to add it to each API call separately.

@khorshuheng
Copy link
Collaborator

lgtm

@romanwozniak romanwozniak merged commit 8a336cd into caraml-dev:main Sep 28, 2022
@romanwozniak romanwozniak deleted the feast_content_type branch September 28, 2022 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants