ioBroker.javascript icon indicating copy to clipboard operation
ioBroker.javascript copied to clipboard

Include User-Agent for "Request" - Block

Open ScumbagSteve opened this issue 4 years ago • 0 comments

Some websites require an User-Agents in order to give a valid answer to a request. This seems to be in order to prevent spam-requests (even though I can not really understand how this is helping against spam). It would greatly help if Blockly either sends a default User-Agent with the request, or (top notch solution) offers a text-input-connector to let the user define an own User-Agent. However I think the first solution will fit to 99% of the demands, as I don't see the general use-case for a custom User-Agent. The professionals probably use JS anyway and therefore can specify whatever they need there.

ScumbagSteve avatar Jan 03 '22 03:01 ScumbagSteve