Crossword Maker

부분 유료
분류별 crossword | 업데이트됨 a month ago | Gaming
인기

7.3 / 10

지연 시간

986ms

서비스 수준

62%

Health Check

N/A

모든 토론으로 돌아가기

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.

아래에 의견을 추가하고 토론에 참여하세요.

새 댓글을 게시하려면 로그인 / 가입