PROCESSING...

RISSZE

Getting Started

Documentation for integrating and consuming our API endpoints.

Base URL endpoint:

Loading...

Example Usage (Fetch)

const url = '/api/example?text=hello';

try {
  const response = await fetch(url);
  const data = await response.json(); // or .blob() for images
  console.log(data);
} catch (error) {
  console.error('Error:', error);
}

Example Usage (Axios)

Make sure to install axios first: npm install axios

const axios = require('axios');

const baseUrl = '';

// 1. GET Request Example
try {
  const { data } = await axios.get(`${baseUrl}/api/example`, {
    params: {
      text: 'hello',
      apikey: 'your_apikey'
    }
  });
  console.log('GET Result:', data);
} catch (err) {
  console.error(err);
}

// 2. POST Request Example (JSON Body)
try {
  const { data } = await axios.post(`${baseUrl}/api/create`, {
     username: 'user123',
     message: 'Hello World'
  });
  console.log('POST Result:', data);
} catch (err) {
   console.error(err);
}