Skip to content

Use default Content-Type for Feast BFF#61

Merged
romanwozniak merged 1 commit into
caraml-dev:mainfrom
romanwozniak:feast_content_type
Sep 28, 2022
Merged

Use default Content-Type for Feast BFF#61
romanwozniak merged 1 commit into
caraml-dev:mainfrom
romanwozniak:feast_content_type

Conversation

@romanwozniak
Copy link
Copy Markdown
Collaborator

@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
Copy Markdown
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