Home / Companies / Hasura / Blog / Post Details
Content Deep Dive

Adding REST endpoints to Hasura

Blog post from Hasura

Post Details
Company
Date Published
Author
Jesse Martin
Word Count
480
Company Posts That Month
14
Language
English
Hacker News Points
-
Post removed?
No
Summary

In the latest release of Hasura 2.0, users can now add REST endpoints to stored queries and mutations. This feature is significant as it allows developers to use both GraphQL and REST APIs in their projects without compromising on developer velocity or security concerns. By creating a named query/mutation in the GraphiQL API explorer and pressing the REST button, users can provide a helpful name for the endpoint, specify its suffix path, and choose which verb it should respond to. Hasura also supports traditional body parsing for dynamic variables and dynamic URL segments. This update enables developers to maintain and deliver REST endpoints where needed while still benefiting from GraphQL's features.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.