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 application/hal+json content-type support #419

Merged
merged 3 commits into from
Dec 8, 2023
Merged

Conversation

l2es
Copy link
Contributor

@l2es l2es commented Jan 3, 2023

Hello,

I found out that the HAL media type extension to JSON content-type: application/hal+json is not currently supported on Needle.
https://www.innoq.com/en/articles/2020/12/rest-apis-with-hal/

I would like to propose with this PR to manage application/hal+json parsing it as JSON.
I added a test as well to check this new content-type capability.

I managed to execute tests via docker and I would like to propose to modify the docker command line on the README file, in order to directly run the container and being able to execute npm tests afterwards.

Please let me know if you have any questions or remarks.
Many thanks,
Loïc

@tomas tomas merged commit 3aaf142 into tomas:master Dec 8, 2023
3 of 9 checks passed
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