jwaldmann / star-exec-presenter

presentation platform for star-exec written in Haskell and based upon Yesod
2 stars 7 forks source link

createJob should evaluate STATUS_MESSAGE_STRING #163

Open jwaldmann opened 7 years ago

jwaldmann commented 7 years ago

starexec API doc says that upload/jobXML has

Returns: 
An HTTP redirect to the space explorer on success, 
and an HTTP message with an error status on failure.

Return Cookies
New_ID: [Integer] – A list of IDs representing the newly created jobs.
STATUS_MESSAGE_STRING: String – On failure, contains an error message.

we should parse the message and print it.