Request source

With every request made to the Frontend API, it is possible to define a Request Source. This Request Source says something about what application is generating traffic, like your website or mobile app.

This provides the possibility to get a report on requests by request source In Tweakwise Insights. For example, to get insight into what application is making those requests you’re billed for.

Implementation

You can specify the request source by sending the TWN-Source header with every request to the Frontend API.

curl --request GET \
     --url 'https://gateway.tweakwisenavigator.com/products/{instanceKey}' \
     --header 'TWN-Source: Mobile app'