Simple java project to make API calls
At the current state supports only connections with APIKey and POST/GET operations
- Using JDK 11 to compile
build with mvn
mvn clean package
Execute jar file with the following arguments
- <API_URL> <API_KEY> <ACTION - GET/POST> <FILE - ONLY FOR POST>
Example for GET:
java -jar api_calls-0.0.1.jar https://localhost/test/api/users i12AwSCVlfWIpoGnmCjjsjka GET
Example for POST(support only with json file)
java -jar https://localhost/test/api/users i12AwSCVlfWIpoGnmCjjsjka POST test.json
Pull requests are welcome.