Response Headers
This page will help you make sense and use of the response headers attached by Mocklets platform.
When an API request is sent to the Mocklets server, it responds with the data set by the user for that API. But apart from the user data, Mocklets also returns other configuration data as response headers which help in debugging the request. Here are the headers which Mocklets returns.
x-mocklets-src
This header lets what is the source of the response data. It can have 2 values mock
or proxy
. If the value is mock
it means the data is fetched from the mock response provided the user, and if the value is proxy
, it signifies that the response served to the user is from proxy server.