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

Add base foundation for HTTP, basic GET/POST API, debug command #73

Merged
merged 3 commits into from
Oct 27, 2023
Merged

Conversation

Vauff
Copy link
Contributor

@Vauff Vauff commented Oct 27, 2023

Using ISteamHTTP, so no third party dependencies introduced (yet, we probably want a proper JSON implementation later).

D2Lobby2 was used as a starting point after seeing it shared in AM discord, so I've maintained the license headers (we're also GPL anyways).

The c_http command is available in debug builds for testing, some examples:

c_http post "https://httpbin.org/post" "{test: true}"
c_http get "https://httpbin.org/get"
c_http get "https://vauff.com/mapimgs/list.php"

@xen-000 xen-000 enabled auto-merge (rebase) October 27, 2023 14:30
@xen-000 xen-000 merged commit a4e9c7f into main Oct 27, 2023
2 checks passed
@xen-000 xen-000 deleted the http branch October 27, 2023 14:33
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.

3 participants