Multipart/form-data in SIM800C or SIM7000

Hi, this is Harikrishna,

I have one problem regarding Multipart/data POST…i am unable to send data to the server…I successfully sent by using POSTMAN(app). by using the ‘code’ portion in postman I frame a packet to sent from the SIM7000 module…but every time it’s showing 400 error…and I have seen your video of Posting data. it won’t help me can you please tell me where exactly the problem lies … I stuck in this problem for one week.
And I tried with \r\n are placing at end of the payload and tried in several ways by putting \r\n.

AT+HTTPINIT

AT+HTTPPARA=“CID”,1

AT+HTTPPARA=“URL”,“http://************/api/add_route?ln=en&user_api_hash=$2y$10$UGnCGRwK3OimjwXzx5GY…3k2dWU8b.qwiqv.Wy6y85gLQWg7/c0m”

AT+HTTPPARA=“CONTENT”,“multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW”

AT+HTTPDATA=422,10000
----WebKitFormBoundary7MA4YWxkTrZu0gWContent-Disposition: form-data; name="name"Route----WebKitFormBoundary7MA4YWxkTrZu0gWContent-Disposition: form-data; name=“color”#ff4000----WebKitFormBoundary7MA4YWxkTrZu0gWContent-Disposition: form-data; name=“polyline” [ { “lat”: 17.457736, “lng”: 78.374194 } ]----WebKitFormBoundary7MA4YWxkTrZu0gW

AT+HTTPACTION=1
OK
+HTTPACTION: 1,400,177

I have the exact same number of “-” in all the boundaries…
Can anybody make a proper structure for this payload!!
This is the data actually i want to post:

POST /api/add_route?ln=en&user_api_hash=$2y$10$UGnCGRwK3OimjwXzx5GY…3k2dWU8b.qwiqv.Wy6y85gLQWg7/c0m HTTP/1.1
Host: *******************
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW

----WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name=“name”

Route_IbotDevice_iamibot
----WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name=“color”

#ff4000
----WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name=“polyline”

[
{“device_id”:“868020030999840”,
“lat”:17.457736,
“lng”:78.374194
}]
----WebKitFormBoundary7MA4YWxkTrZu0gW

So in the payload, I removed below headers because in HTTPPARA filed I mentioned already.

POST /api/add_route?ln=en&user_api_hash=$2y$10$UGnCGRwK3OimjwXzx5GY…3k2dWU8b.qwiqv.Wy6y85gLQWg7/c0m HTTP/1.1
Host: *******************
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW

Thanks.