返回顶部
返回首页 会员充值 我的足迹 返回上一页

从无头到有头.pdf

2025-05-01
文档编号:651728
文档页数:27
文档大小:1.90MB
下载积分:VIP专享
文档格式:PDF

1、From Headlessto Headful DARIUSZ SZUTAbout mePath of Exile player fanDariusz SzutFrontend Team LeaderAt Ibexa since 2015https:/ APIUse caseDemoQ&AREST APIREST API in Ibexa DXPThe REST API in Ibexa DXP allows you to interact with an Ibexa DXP installation by using the HTTP protocol,following a REST in

2、teraction model.Each resource(URI)interacts with a part of the system(like content,users or search).Every interaction with the repository than you can do from back office or by using the Public PHP API can also be done with the REST API.Request headersAcceptDescribing the desired response type and f

3、ormatContent-TypeDescribing the payload type and formatX-SiteaccessSpecifying the target SiteAccess.If omitted the default SiteAccess is usedX-CSRF-Token The CSRF token for securityClick to edit Master title styleGetCollect dataPostCreate an itemUpdateUpdate an item+moreOptions,head,copy,move,swap,p

4、ublish,deleteRequestmethodsRequest exampleconst request=new Request(/api/ibexa/v2/user/sessions,method:POST,headers:Accept:application/vnd.ibexa.api.Session+json,Content-Type:application/vnd.ibexa.api.SessionInput+json,body:JSON.stringify(SessionInput:login:admin,password:secret,),);fetch(request).t

5、hen(response)=response.json();Response exampleSession:name:eZSSID,identifier:go327ij2cirpo59pb6rrv2a4el2,csrfToken:23lkneri34ijajedfw39orj3j93,User:_href:/user/users/14,_media-type:application/vnd.ibexa.api.User+jsonDocumentationDeveloper Documentation:https:/doc.ibexa.co/en/latest/api/rest_api/rest

6、_api_usage/rest_api_usage/Ibexa REST API Doc:https:/doc.ibexa.co/en/latest/api/rest_api/rest_api_reference/rest_api_reference.htmlUse CaseClick to edit Master title styleProduct informationPriceFiltersSearchAdd to cart buttonProduct list pa

从无头到有头.pdf_第1页
从无头到有头.pdf_第2页
从无头到有头.pdf_第3页
从无头到有头.pdf_第4页
从无头到有头.pdf_第5页

点击查看更多