Code Monkey home page Code Monkey logo

Comments (6)

seraphx2 avatar seraphx2 commented on June 3, 2024

bump?

from usaspending-api.

lisaam avatar lisaam commented on June 3, 2024

The API /download/status/ endpoint is a GET request. Here is an example call:

https://api.usaspending.gov/api/v2/download/status/?file_name=file_name.zip&type=awards

To get the status for a specific file generation, simply replace "file_name.zip" above with the name of the ZIP file being generated. Currently, "type" will always be "awards". Different "type" vales are planned future functionality.

Thank you for letting us know that this endpoint's documentation does not have a GET example or list all the required query parameters. We have informed our technical team so that they can update the documentation.

from usaspending-api.

seraphx2 avatar seraphx2 commented on June 3, 2024

Ahh, ok. Thanks!

from usaspending-api.

seraphx2 avatar seraphx2 commented on June 3, 2024

Umm, actually, this didn't work either. The download status endpoint is still telling me:
image

from usaspending-api.

lisaam avatar lisaam commented on June 3, 2024

This is one of the rare cases where the USAspending API uses a GET request.

The /download/status/ endpoint only accepts GET requests. To receive a valid response, please change the drop down call option from POST to GET.

from usaspending-api.

seraphx2 avatar seraphx2 commented on June 3, 2024

from usaspending-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.