Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

feat: add JSON-LD to the list of known content types

Kévin Dunglasa8d5ab035d88
diff --git a/helpers/utils/contenttypes.js b/helpers/utils/contenttypes.js
index efd94f729..e57347e05 100644
--- a/helpers/utils/contenttypes.js
+++ b/helpers/utils/contenttypes.js
@@ -1,7 +1,8 @@
export const knownContentTypes = [
"application/json",
- "application/vnd.api+json",
+ "application/ld+json",
"application/hal+json",
+ "application/vnd.api+json",
"application/xml",
"application/x-www-form-urlencoded",
"text/html",