Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More robust API request/response handling #70

Merged
merged 3 commits into from
Jul 31, 2024

Conversation

krazkidd
Copy link
Owner

@krazkidd krazkidd commented Jul 31, 2024

This fixes some issues with the Kalshi API service suddenly rejecting my client code. I had to add a User-Agent header and allow for non-JSON responses.

@krazkidd krazkidd linked an issue Jul 31, 2024 that may be closed by this pull request
@krazkidd krazkidd self-assigned this Jul 31, 2024
@krazkidd krazkidd merged commit c340558 into main Jul 31, 2024
1 check failed
@krazkidd krazkidd deleted the 69-getting-403-from-cloudfront-waf branch July 31, 2024 05:46
Copy link

Cpp-Linter Report ⚠️

Some files did not pass the configured checks!

clang-format reports: 9 file(s) not formatted
  • include/api/Api.hpp
  • include/api/Api.hxx
  • include/api/_Api.hpp
  • include/api/types.hpp
  • src/api/Api.auth.cpp
  • src/api/Api.cpp
  • src/api/Api.exchange.cpp
  • src/api/Api.market.cpp
  • src/api/Api.portfolio.cpp
clang-tidy reports: 301 concern(s)

Have any feedback or feature suggestions? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Getting 403 from CloudFront WAF
1 participant