Skip to content
Snippets Groups Projects
Commit 02e0ac29 authored by Pedro Pablo Cardona Arroyave's avatar Pedro Pablo Cardona Arroyave
Browse files

Algorithm is started

parent 6fe86e25
No related branches found
No related tags found
No related merge requests found
package ntnu.idatt2016.v233.SmartMat.service;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.http.HttpRequest;
public class CategoryService {
public static String getCategory(Long ean) throws URISyntaxException {
HttpRequest getRequest = HttpRequest.newBuilder().uri(new URI("https://kassal.app/api/v1/products/ean/"+ean))
.header("Authoriation").build();
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment