24 lines
814 B
ReStructuredText
24 lines
814 B
ReStructuredText
# -*- restclient -*-
|
|
|
|
# Makes post http request to a resource from yufu_concept module.
|
|
# Make sure uuid is uniq or it will create new revision.
|
|
|
|
POST https://yufu-manifest.ddev.site/api/pojem/dodaj
|
|
User-Agent: Emacs Restclient
|
|
Content-Type: application/json
|
|
Cookies: "SSESSb6f5da6ef565138b872e3e58509d8150=0z6Zk4tRwTF4WAR%2CSO6rH0K5F7hqKpbe28XRRHwvTxo%2CUnpC"
|
|
|
|
{
|
|
"title": "888 Emacs restclient test 888",
|
|
"text": "O wau. Emacs restclient. How nice. Dodam text. Spet.",
|
|
"email": "lio.novelli@radiostudent.si",
|
|
"uuid": "70c1ace2-aaaa-4dc5-84ed-3f21b83cb23a"
|
|
}
|
|
|
|
# Testiramo autocomplete
|
|
|
|
GET https://yufu-manifest.ddev.site/api/pojem/autocomplete?q=jadr
|
|
User-Agent: Emacs Restclient
|
|
Content-Type: application/json
|
|
Cookies: "SSESSb6f5da6ef565138b872e3e58509d8150=0z6Zk4tRwTF4WAR%2CSO6rH0K5F7hqKpbe28XRRHwvTxo%2CUnpC"
|