diff options
| author | Mario Minardi <mario@tailscale.com> | 2024-04-29 10:25:52 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-29 10:25:52 -0600 |
| commit | 74c399483c59e3a3e1c5266086928d730268d576 (patch) | |
| tree | 09232c1e590f1617bb9b3dc5b7ff4f323dcc745f /control/controlknobs/controlknobs.go | |
| parent | 1452faf51021f67fe8d3a7438172f68a9889b318 (diff) | |
| download | tailscale-74c399483c59e3a3e1c5266086928d730268d576.tar.xz tailscale-74c399483c59e3a3e1c5266086928d730268d576.zip | |
api.md: explicitly set content-type headers in POST CURL examples (#11916)
Explicitly set `-H "Content-Type: application/json"` in CURL examples
for POST endpoints as the default content type used by CURL is otherwise
`application/x-www-form-urlencoded` and these endpoints expect JSON data.
Updates https://github.com/tailscale/tailscale/issues/11914
Signed-off-by: Mario Minardi <mario@tailscale.com>
Diffstat (limited to 'control/controlknobs/controlknobs.go')
0 files changed, 0 insertions, 0 deletions
