Jumoo / jumoo-docs

Documentation for uSync and Translation manager
https://docs.jumoo.co.uk
0 stars 9 forks source link

uSync.Complete - Add UserAgent to the Request #8

Closed KevinJump closed 1 year ago

KevinJump commented 1 year ago

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 https://github.com/Jumoo/uSync.Complete.Issues/issues/184#issuecomment-1184015808