Hey, no worries, we’ve all been there! For Curl POST give input from file, your command is close. Just add the `Content-Type` header like this:
```
curl -X POST -H "Content-Type: application/json" -d @data.json http://example.com/api
```
If you’re still stuck, maybe share the error you’re getting? Also, [ReqBin](https://reqbin.com/) is a cool site to test curl commands online.
```
curl -X POST -H "Content-Type: application/json" -d @data.json http://example.com/api
```
If you’re still stuck, maybe share the error you’re getting? Also, [ReqBin](https://reqbin.com/) is a cool site to test curl commands online.
