File is now sent to api instead of text in url peram.