Sending multi part form data in post method in play/scala
问题 How can I send multi part form data in post method in play scala using : scalaVersion:2.11.7 playVersion-2.1.5 回答1: You need to do a little code, then you can use it like val data = MultipartFormData(formFields, "asdasboundarystringas") WS.url(myUrl).post(data.body) The code of MultipartFormData you can find on the github: https://gist.github.com/EECOLOR/7649144 UPDATE Another method, I have been try it with Play 2.4.3 package controllers import play.api.Play.current import play.api.libs.ws._