I'm opening this issue in response to the issue:
I understand Daniel Beck's answer, but it still doesn't solve a major issue: how am I supposed to send a file parameter when triggering a build remotely (by an HTTP post request)?
When using "/build", I don't get the locatin's url in the response header.
when using "/buildWithParameter", I can't send a file parameter.
Issue 30317 is from 2015. How is the problem with sending a file parameter when triggering remotely (by an HTTP POST request) still unsolved?