Puas tso zis tawm tswv yim hloov tau so?

Cov txheej txheem:

Puas tso zis tawm tswv yim hloov tau so?
Puas tso zis tawm tswv yim hloov tau so?

Video: Puas tso zis tawm tswv yim hloov tau so?

Video: Puas tso zis tawm tswv yim hloov tau so?
Video: Vajtswv Cas Neeg Tsis Txawj Plhis - nkauj ntseeg tawm tshiab (Kos Kwm) (official music/MV) 2023-2024 2024, Kaum ib hlis
Anonim

ATG Platform REST Web Services txhawb nqa JSON thiab XML tawm tswv yim thiab tawm tswv yim. JSON yog hom ntawv qub. Txhawm rau hloov lub neej ntawd hom, hloov lub defaultOutputCustomizer thiab defaultInputCustomizer cov khoom ntawm /atg/rest/Configuration tivthaiv kom lawv taw tes rau cov khoom tsim nyog.

tso zis hom ntawv ntawm REST API yog dab tsi?

html - output los ntawm cov ntaub ntawv tuaj yeem pom hauv html hom (lub neej ntawd) … json - cov ntaub ntawv xa tawm hauv json hom, tej zaum qhov zoo tshaj plaws rau kev ua haujlwm. xls/xlsx - cov ntaub ntawv xa mus rau hauv excel spreadsheet format, tej zaum zoo tshaj plaws rau kev soj ntsuam tom qab los ntawm cov neeg siv kawg. xml - kuj yog programmer raws hom.

Cov hom lus REST sib txawv yog dab tsi?

Cov qauv lus teb uas muaj tam sim no rau txhua qhov REST kawg yog cov qauv siv hlua thiab suav nrog XML, JSON, PJSON, thiab HTML. … PJSON hais txog "Prettified" JSON. Nws tsim JSON nrog qhov chaw, tabs, thiab cov tsheb thauj khoom rov qab los txhawm rau txhim kho nws cov tib neeg kev nyeem ntawv, tshwj xeeb tshaj yog thaum lub sijhawm txhim kho thiab kev sim.

Cov tswv yim tawm tswv yim dab tsi REST API txhawb nqa?

Feem ntau cov haujlwm hauv REST API lees txais cov tswv yim hauv JSON hom, xa cov khoom tawm hauv JSON hom, lossis ob qho tib si.

Dab tsi yog ob hom ntawm RESTful API?

REST API txhawb nqa cov ntaub ntawv hauv qab no: daim ntawv thov / json. daim ntawv thov / json qhia txog JavaScript Object Notation (JSON) thiab siv rau feem ntau ntawm cov peev txheej. application/xml qhia eXtensible Markup Language (XML) thiab yog siv rau kev xaiv.

Pom zoo: