Crossword Maker

ÜCRETSİZ PREMIUM
Taraf crossword | Güncelleyen 2달 전 | Gaming
Popülerlik

7.6 / 10

Gecikme

8,171ms

Hizmet Düzeyi

78%

Health Check

N/A

Tüm Tartışmalara Dön

API Only Returns HTML

Rapid account: Testupdates 2
testupdates2
vor 7 Monaten
  • 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 vor 7 Monaten

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.

Aşağıya yorum ekleyerek tartışmaya katılın:

Yeni yorumlar göndermek için giriş yapın / kaydolun