Here is the UI portion of tns file uploading. It adds another section "Files" to upload/show files when submit_to_tns is selected. It looks like this:
I also added info on how to structure an API request with files for TNS submission to the about page. It looks like this:
This is because the structure of your post must be slightly different for a multipart/form-data - basically you have to json encode the data dict into a string and send it in the 'data' key next to the files sent in the 'files' key, and then we put it back into json on the server in the parser.
With extra time, I'm going to try to add a comments section for each uploaded file, since the TNS api can support ingesting comments along with each file.
Here is the UI portion of tns file uploading. It adds another section "Files" to upload/show files when submit_to_tns is selected. It looks like this:
I also added info on how to structure an API request with files for TNS submission to the about page. It looks like this: This is because the structure of your post must be slightly different for a multipart/form-data - basically you have to json encode the data dict into a string and send it in the 'data' key next to the files sent in the 'files' key, and then we put it back into json on the server in the parser.