Jumoo/jumoo-docs

uSync.Complete - Add UserAgent to the Request

Closed this issue · 0 comments

From vertsion v10.1

  1. You can set the user agent string in config :
  2. You can add your own custom header key pairs that will also get added to every request.
"uSync": {
    "Publisher": {
      "Settings": {
        "UserAgentString": "uSyncPublisherCustomString",
        "RequestHeaders": {
          "One": "ValueOne",
          "Two": "ValueTwo"
        }
   }
}

Originally posted by @KevinJump in Jumoo/uSync.Complete.Issues#184 (comment)