MCPcopy
hub / github.com/parse-community/parse-server / getObject

Function getObject

spec/rest.spec.js:147–158  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

145 let req;
146
147 async function getObject(id) {
148 const res = await request({
149 headers: {
150 'X-Parse-Application-Id': 'test',
151 'X-Parse-REST-API-Key': 'rest',
152 },
153 method: 'GET',
154 url: `http://localhost:8378/1/classes/TestObject/${id}`,
155 });
156
157 return res.data;
158 }
159
160 beforeEach(() => {
161 req = {

Callers 1

rest.spec.jsFile · 0.70

Calls 1

requestFunction · 0.50

Tested by

no test coverage detected