just remove s from https
URL url = new URL("http://jsonmock.hackerrank.com/api/article_users?page=1");
Answer from abhinavsinghvirsen on Stack Overflowjson - Calling Rest API in java from Hackerrank IDE - Stack Overflow
HackerRank Solving rest APIs with Algos
What Library to use for HackerRank Rest API Skills Challenge?
Practice REST API for an interview test
Videos
Hey ya'll,
I just received an OA for an internship and I will be tested on the following.
-
Coding - You can use whichever programming language you'd like!
-
Databases - You'll use database queries and SQL for this one.
-
Rest API's - You'll be solving Rest API's using algos!
I more or less understand what's expected of me from the coding and database section. I'm not sure what to expect from the Rest API section. When I go to the HackerRank website I don't see any practice tests or resources for this topic. This is something I have minimal experience with and I'm not sure how to practice. Any resources or insights would be greatly appreciated. Thank you!
I've been requested to take this REST API skills challenge on HackerRank: https://www.hackerrank.com/skills-verification/rest_api_intermediate
I'll be taking it in Java. I took it on a second account before trying it on my main account for practice and noticed that it wouldn't let me import what I would normally use (javax, java.web, gson, jackson, etc).
Does anyone know which library they are specifically looking for me to use? I failed it on my second account, so definitely don't want to fail when I actually take the test.