📄️ JavaScript Example
This example demonstrates how to call the Mockd API using the fetch API and use the returned results to call another function. This is helpful if you need to update a UI or submit the response to a database.
📄️ Java Example
This example demonstrates how to call the Mockd API using the Java HttpClient (available in Java 11+) and use the returned results to call another method. This is helpful if you need to process mock data within a Java application or backend service.