Crossword Maker

FREEMIUM
By crossword | Updated לפני חודש | Gaming
Popularity

7.3 / 10

Latency

986ms

Service Level

62%

Health Check

N/A

Back to All Discussions

API Only Returns HTML

Rapid account: Testupdates 2
testupdates2
6 months ago
  • While i Upload All HTML Code in Brwoser its just return’s me Question And Answer.
  • API just returning only HTML Code instead of the other code.
  • I think API Responce not return the desired data in a structured format.

“Can you give me more guidance about this API ?”

Rapid account: Crossword
crossword Commented 6 months ago

Hi there,

Let me make it clear for you. When you send a request to this API, it will give you back 4 different object.

These are;

  1. crosswordHTMLTableTrue: Helps you to show a user after successful submit. These are the correct answers placed in a HTML. You can show this HTML after the user submit a puzzle.
  2. crosswordHTMLTable: Helps you to show a empty crossword in HTML form.
  3. crosswordArray: It is an array that shows X and Y indexes for answer letters.
  4. questionNumbersArray: It is an array that shows X and Y indexes for question numbers.

So if you want to implement a custom solution, you need to use 3 and 4. Otherwise its simpler with HTMLs.

example_response

As you can see on the image, you need to place the letter at crosswordArray[14][3] on the 14th row 3rd column. This will be one of the answer letters. And it goes on for the others.

If you have any questions, let us know.

Thanks.

Join in the discussion - add comment below:

Login / Signup to post new comments