Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Add support forapplication/vnd.api+json content types#362

Merged
tomas merged 1 commit intotomas:masterfromkfitzgerald:json-api-support
Jul 7, 2021

Conversation

kfitzgerald
Copy link
Contributor

Greetings!

It's been a while, but I ran into an API that returns something called JSON-API:https://jsonapi.org/

Apparently it's too good to use regular oldcontent-type: applcation/json, and had to invent their own mime type. Needless to say, it's still JSON with a specialized format. Woohoo!

All sarcasm aside, this PR treats theirapplication/vnd.api+json content mime type as json.

Unit tests supporting the case added as well. Let me know how this looks and if there's anything else you need from me!

Thanks again,
-Kevin

@tomas
Copy link
Owner

Looks great! Thanks Kevin

@tomastomas merged commitcfc51be intotomas:masterJul 7, 2021
@kfitzgerald
Copy link
ContributorAuthor

Thanks again@tomas! Really appreciate it.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@kfitzgerald@tomas

[8]ページ先頭

©2009-2025 Movatter.jp