---
title: "Discussion on \"Send a multipart/related request with cURL\" | Hashnode"
description: "Discussion on \"Send a multipart/related request with cURL\". Sometimes you need to send a request with a body made of both JSON data and files. Here's a quick guide for sending complex body content with an HTTP client :-)\nStandard POST requests\nAn HTTP POST request is usually made of headers and a body. Accord..."
url: "https://hashnode.com/posts/send-a-multipartrelated-request-with-curl/63e927574436b980dab2d9fa"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Send a multipart/related request with cURL](https://technodoggo.hashnode.dev/send-a-multipartrelated-request-with-curl?utm_source=hashnode&utm_medium=feed)

Sometimes you need to send a request with a body made of both JSON data and files. Here's a quick guide for sending complex body content with an HTTP client :-) Standard POST requests An HTTP POST request is usually made of headers and a body. Accord...

Feb 12, 2023 · 4 min read · technodoggo.hashnode.dev  
Updated Feb 23, 2023  
Read the article

-   [#curl](https://hashnode.com/tag/curl)
-   [#http](https://hashnode.com/tag/http)
-   [#multipart](https://hashnode.com/tag/multipart)
-   [#multipartrelated](https://hashnode.com/tag/multipartrelated)

## Written by

[Thomas Boutin](https://hashnode.com/@TechnoDoggo)

@TechnoDoggo · Nantes, FR

  
[View profile](https://hashnode.com/@TechnoDoggo)

Mobile Lead @ IpponTech

## Responses 1

Comments are turned off for this post.

[warrell harries](https://hashnode.com/@wozza)

[Aug 13, 2024](https://hashnode.com/posts/send-a-multipartrelated-request-with-curl/63e927574436b980dab2d9fa/comment/66bb08de49a407f4f39abff5)

Excellent
