Sending JSON using web client dat

Is there any way to set a custom header using the web client dat when sending a put request?

I ended up using the requests.put() method in an execute dat which allows for a custom header, but was curious if this is possible with nodes instead of python.


Yes, see the documentation, first input takes a table DAT in which you define your custom headers

If you prefer Python there is a 'header" argument in the request() method, this takes a dict with all your custom headers.