Stay organized with collections
Save and categorize content based on your preferences.
To subscribe to notifications in a production environment, you
must provide a callback URL with a valid SSL certificate to handle
the notification. For development purposes, you can use a subscription proxy
server provided by Google that forwards notifications to a
non-SSL callback URL.
To use the subscription proxy, append your non-SSL callback URL to the
proxy server's forwarding URL like this:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-10 UTC."],[[["\u003cp\u003eTo receive notifications in production, provide a callback URL with a valid SSL certificate.\u003c/p\u003e\n"],["\u003cp\u003eFor development, use Google's subscription proxy server, which allows non-SSL callback URLs by appending your URL to \u003ccode\u003ehttps://mirrornotifications.appspot.com/forward?url=<your_callback_url>\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003cstrong\u003eImportant:\u003c/strong\u003e The subscription proxy server is for development only and should not be used in production due to security concerns.\u003c/p\u003e\n"]]],[],null,["# Subscription Proxy\n\nTo subscribe to notifications in a production environment, you\nmust provide a callback URL with a valid SSL certificate to handle\nthe notification. For development purposes, you can use a subscription proxy\nserver provided by Google that forwards notifications to a\nnon-SSL callback URL.\n| **Warning:** Do not use the subscription proxy server in a production environment. It is less secure and only for development purposes.\n\nTo use the subscription proxy, append your non-SSL callback URL to the\nproxy server's forwarding URL like this: \n\n```\nhttps://mirrornotifications.appspot.com/forward?url=\u003cyour_callback_url\u003e\n```\n\nWhen you subscribe to a notification, specify the full URL that includes\nthe forwarding service URL and your callback URL. For example: \n\n POST /mirror/v1/subscriptions HTTP/1.1\n Authorization: Bearer auth token\n Content-Type: application/json\n Content-Length: length\n\n {\n \"collection\": \"timeline\"\n \"userToken\": \"harold_penguin\",\n \"operation\": [\"UPDATE\"],\n \"callbackUrl\": \"https://mirrornotifications.appspot.com/forward?url=http://example.com/notify/callback\"\n }"]]