I'm trying to find some mock servers which can support both graphQL and REST endpoints . so that when I query, it returns back mock data instead of going to the Graphql / Http server.
At the moment I found some ways to mock queries , easygraphql-tester works as a mocker of query or mutation But it specifically for GraphQL endpoints .
Similarly , mock-http-server can be used to mock Http Requests to return specific responses But this is specifically for REST or Http endpoints .
I want to find some way where i can mock both GraphQL and HTTP endpoints at the same time . For Example - if I want to mock queries for GraphQL endpoints i can do that , Also if i want to mock some specific Http Request ,i can do that too using the same tool .
Would appreciate the help if anyone can help me find some mock server to mock both Http and GraphQL endpoints .