Move all files to zet-old/

This commit is contained in:
Oliver Davies 2025-10-02 00:53:28 +01:00
parent e1badc9fd5
commit 29d11fa9b9
60 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,16 @@
---
title: POSTing data from a JSON file
date: 2024-09-14 13:39:01
tags: [Linux, curl]
related:
- Sending POST requests with curl
use: [zets]
---
When sending JSON data in a POST request, instead of writing it inline with the `--data` or `--json` option, a filename can be entered - prefixed with an `@` symbol.
For example, to POST the data from a data.json file:
```shell
curl --insecure --json @data.json https://mysite.com/webhook
```