I'm trying to POST to the HTTP gateway of an SMS provider (Sybase 365) using CURL from a Linux shell script.

I need to pass the following data (note the [ ] and LF characters)

```
[MSISDN]
List=+12345678
[MESSAGE]
Text=Hello
[END]

```

If I submit a file using the -F parameter, CURL removes the LF e.g.

```
curl -F @myfile "http://www.sybase.com/..."

```

results in this at the server (which is rejected)

```
[MSISDN]List=+12345678[MESSAGE]Text=Hello[END]

```

Is there anything I can do to avoid this or do I need an alternative tool?

I'm using a file containing my data for testing but I'd like to avoid that in practice and POST directly from the script.