- Hands-On RESTful Web Services with TypeScript 3
- Biharck Muniz Araújo
- 98字
- 2021-07-02 12:19:17
The manipulation of resources using representations
Following the happy path, when the client makes a request to the server, the server responds with a resource that represents the current state of its resource. This resource can be manipulated by the client. The client can request what kind it desires for the representation such as JSON, XML, or plain text.
When the client needs to specify the representation, the HTTP Accept header is used.
Here you can see an example in plain text:
GET https://<HOST>/orders/12345
Accept: text/plain
The next one is in JSON format:
GET https://<HOST>/orders/12345
Accept: application/json
推薦閱讀
- 藥事管理與法規(guī)
- 實(shí)用口腔正畸臨床技術(shù)圖譜
- 角膜塑形鏡驗(yàn)配技術(shù)基礎(chǔ)篇
- Hands-On Functional Programming with C++
- 心理障礙的疏導(dǎo)自助
- Practical PowerShell Security and Compliance Center
- 乳腺、甲狀腺介入性超聲學(xué)
- 特殊醫(yī)學(xué)用途配方食品臨床應(yīng)用
- 老年癡呆居家康復(fù)指導(dǎo)
- 牙齒健康與口腔保健手冊(cè)
- 腦癱兒童的音樂治療
- 醫(yī)療損害判例評(píng)析
- 實(shí)用皮膚鏡學(xué)
- 帕金森病中西醫(yī)結(jié)合診療與康復(fù)
- 中國(guó)口腔疾病經(jīng)濟(jì)負(fù)擔(dān)和預(yù)防策略經(jīng)濟(jì)學(xué)評(píng)價(jià)研究