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

Replace deprecated scalaj HTTP client #601

Open
wajda opened this issue Feb 14, 2023 · 1 comment
Open

Replace deprecated scalaj HTTP client #601

wajda opened this issue Feb 14, 2023 · 1 comment

Comments

@wajda
Copy link
Contributor

wajda commented Feb 14, 2023

from here:

THIS LIBRARY IS DEPRECATED

As of April 2022 there are many supported options for making HTTP calls in scala:

  • sttp or http4s might be good scala first options
  • The native HttpClient library if you're using JDK 11+ and want minimal deps
@wajda wajda added this to the 1.1.0 milestone Feb 14, 2023
@cerveada cerveada modified the milestones: 1.1.0, 1.2.0 Mar 29, 2023
@wajda wajda removed this from the 1.2.0 milestone Jun 16, 2023
@cerveada
Copy link
Contributor

cerveada commented Sep 11, 2023

Requirements:

Lib Java Scala link
sttp 11+ 2.11+ https://sttp.softwaremill.com/en/stable/quickstart.html#quickstart
http4s 8+ 2.12+ https://http4s.org/versions.html
HttpClient 11+ - -

Maybe request scala could work with older versions, but that needs to be tested:
https://github.com/com-lihaoyi/requests-scala

other alternatives

https://sttp.softwaremill.com/en/stable/other.html
https://github.com/topics/http-client?l=scala

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

2 participants