edgi-govdata-archiving / eot-nomination-tool

📚 Chrome extension to nominate government data that needs to be preserved
https://chrome.google.com/webstore/detail/nominationtool/abjpihafglmijnkkoppbookfkkanklok
GNU General Public License v3.0
20 stars 10 forks source link

Added POST request to the new endpoint #77

Closed mi-lee closed 6 years ago

mi-lee commented 7 years ago

TODO: The fields being sent are not the same as the one stored on the endpoint (i.e. it doesn't store the title, isVisualization, etc).

How should we deal with this discrepancy @b5?

atesgoral commented 7 years ago

What are the fields expected by the endpoint? Once we figure them out (and know which fields to map/omit), we could use a similar conversion structure that's used in the other submission functions: here and here.

atesgoral commented 7 years ago

I took the liberty to make a direct edit to tweak some whitespace. Please rebase/merge if you need to make further changes. Sorry for the trouble!