AIBooru
Login Posts Comments Notes Artists Tags Pools Wiki Forum More ยป
Search Changes Help | Posts (0) History
  • Help
guro
scat

Recent Changes (all)

  • yozakura shion
  • yozakura-san chi no daisakusen
  • cersei (himekishi wa barbaroi no yome)
  • himekishi wa barbaroi no yome
  • hyena
  • hyena ears
  • hyena tail
  • hyena boy
  • aoyagi touya
  • i'll fucking suck your dick (meme)
  • the silent (slay the spire)
  • stable diffusion
  • multicolored one-piece swimsuit
  • nishiwaki yuuko
  • vampire
  • wrathgoddess
  • twila moonveil
  • keep this a secret from everyone in class
  • kirazuri (anima)
  • morizono wakana
  • oera linda
  • ariel (disney)
  • heidi (arknights)
  • holding figure
  • sunna (afternoon tea break) (zenless zone zero)

Options

  • Wiki History
  • Discussions
  • What Links Here

help:api read requests

These are API requests which use the HTTP GET or POST methods.

Limit

Read requests are unlimited for all user levels.

URL parameters

When doing a read through a GET request, the parameters must be passed in through the URL, and must use URL hash encoding (Help:Hash syntax).

Body parameters

When doing a read through a POST request, the parameters must be passed in through the body. Additionally, the body must have the key of "_method" with the value of "get".

URL encoding

These parameters use URL hash encoding (Help:Hash syntax).

  • Content-Type: application/x-www-form-urlencoded
  • Format: PARAMETER=VALUE
  • Example: search[name]=test&limit=20&_method=get
JSON encoding

These parameters use JSON hash encoding [1].

  • Content-Type: application/json
  • Format: { "OBJECT": { "PARAMETER": VALUE } }
  • Example: { "search": { "name": "test" }, "limit": 20, "_method": "get" }

See also

  • Help:API write requests
  • Help:API

External links

[1] https://www.w3resource.com/JSON/structures.php

Terms / Privacy / Contact /